Table of Contents

Class ServerCommandProvider

Namespace
RDCore.SDK.Server.Services
Assembly
RDCore.SDK.dll
public class ServerCommandProvider : IServerCommandProvider
Inheritance
ServerCommandProvider
Implements
Inherited Members

Constructors

ServerCommandProvider(IEnumerable<ServerCommand>)

public ServerCommandProvider(IEnumerable<ServerCommand> commands)

Parameters

commands IEnumerable<ServerCommand>

Methods

GetCommand(string)

Gets the specified command if it exists.

public ServerCommand? GetCommand(string name)

Parameters

name string

The registered command name.

Returns

ServerCommand

null if no ServerCommand exists 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.