using System.Collections.Generic; namespace Game.Features.Console.Contracts; public interface ICommandRegistry { IReadOnlyCollection All { get; } void Register(ICommand command); bool TryGet(string name, out ICommand command); }