Interface ICommandRegistry
Registry of all available channel commands. Channel adapters query this to register platform-native commands.
public interface ICommandRegistry
Properties
Commands
All registered commands.
IReadOnlyList<IChannelCommand> Commands { get; }
Property Value
Methods
GetCommand(string)
Look up a command by name (case-insensitive).
IChannelCommand? GetCommand(string name)
Parameters
namestring
Returns
Register(IChannelCommand)
Register a command.
void Register(IChannelCommand command)
Parameters
commandIChannelCommand