C# Класс JabbR.Commands.CommandManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommandManager ( string clientId, string userId, string roomName, IChatService service, IJabbrRepository repository, ICache cache, INotificationService notificationService ) : System
CommandManager ( string clientId, string userAgent, string userId, string roomName, IChatService service, IJabbrRepository repository, ICache cache, INotificationService notificationService ) : System
GetCommandsMetaData ( ) : IEnumerable
MatchCommand ( string commandName, ICommand &command ) : void
ParseCommand ( string commandString, string &args ) : string
TryHandleCommand ( string command ) : bool
TryHandleCommand ( string commandName, string args ) : bool

Приватные методы

Метод Описание
GetCommands ( ) : IList

Описание методов

CommandManager() публичный Метод

public CommandManager ( string clientId, string userId, string roomName, IChatService service, IJabbrRepository repository, ICache cache, INotificationService notificationService ) : System
clientId string
userId string
roomName string
service IChatService
repository IJabbrRepository
cache ICache
notificationService INotificationService
Результат System

CommandManager() публичный Метод

public CommandManager ( string clientId, string userAgent, string userId, string roomName, IChatService service, IJabbrRepository repository, ICache cache, INotificationService notificationService ) : System
clientId string
userAgent string
userId string
roomName string
service IChatService
repository IJabbrRepository
cache ICache
notificationService INotificationService
Результат System

GetCommandsMetaData() публичный статический Метод

public static GetCommandsMetaData ( ) : IEnumerable
Результат IEnumerable

MatchCommand() публичный Метод

public MatchCommand ( string commandName, ICommand &command ) : void
commandName string
command ICommand
Результат void

ParseCommand() публичный Метод

public ParseCommand ( string commandString, string &args ) : string
commandString string
args string
Результат string

TryHandleCommand() публичный Метод

public TryHandleCommand ( string command ) : bool
command string
Результат bool

TryHandleCommand() публичный Метод

public TryHandleCommand ( string commandName, string args ) : bool
commandName string
args string
Результат bool