跳到主要内容
版本:0.1.0

Interface IConsoleCommandRegistry

Namespace: ReadyM.Api.Command
Assembly: ReadyM.Api.dll

public interface IConsoleCommandRegistry

Methods

AddCommand(string, ConsoleCommand, IEnumerable<string>?)

void AddCommand(string commandName, ConsoleCommand command, IEnumerable<string>? availableFirstParams = null)

Parameters

commandName string

command ConsoleCommand

availableFirstParams IEnumerable<string>?

HasCommand(string)

bool HasCommand(string commandName)

Parameters

commandName string

Returns

bool

  • Methods
    • AddCommand(string, ConsoleCommand, IEnumerable<string>?)
    • HasCommand(string)