C# Class JabbR.Commands.CommandManager

Mostrar archivo Open project: ucdavis/JabbR Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetCommands ( ) : IList

Method Details

CommandManager() public method

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
return System

CommandManager() public method

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
return System

GetCommandsMetaData() public static method

public static GetCommandsMetaData ( ) : IEnumerable
return IEnumerable

MatchCommand() public method

public MatchCommand ( string commandName, ICommand &command ) : void
commandName string
command ICommand
return void

ParseCommand() public method

public ParseCommand ( string commandString, string &args ) : string
commandString string
args string
return string

TryHandleCommand() public method

public TryHandleCommand ( string command ) : bool
command string
return bool

TryHandleCommand() public method

public TryHandleCommand ( string commandName, string args ) : bool
commandName string
args string
return bool