11 lines
253 B
C#
11 lines
253 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Game.Features.Console.Contracts;
|
|
|
|
public interface ICommandRegistry
|
|
{
|
|
IReadOnlyCollection<ICommand> All { get; }
|
|
void Register(ICommand command);
|
|
bool TryGet(string name, out ICommand command);
|
|
}
|