Files
night-shift/src/Features/Console/Contracts/ICommandRegistry.cs
T

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);
}