Class ServerCommandProvider
public class ServerCommandProvider : IServerCommandProvider
- Inheritance
-
ServerCommandProvider
- Implements
- Inherited Members
Constructors
ServerCommandProvider(IEnumerable<ServerCommand>)
public ServerCommandProvider(IEnumerable<ServerCommand> commands)
Parameters
commandsIEnumerable<ServerCommand>
Methods
GetCommand(string)
Gets the specified command if it exists.
public ServerCommand? GetCommand(string name)
Parameters
namestringThe registered command name.
Returns
- ServerCommand
nullif noServerCommandexists in this assembly with the specified name.
GetCommandRegistrations()
Gets all the command registrations for this assembly.
public string[] GetCommandRegistrations()
Returns
- string[]
An array of command names used for registering the command capabilities during the initialization handshake.