C# Class JabbR.Commands.CommandManager

Afficher le fichier Open project: ucdavis/JabbR Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetCommands ( ) : IList

Method Details

CommandManager() public méthode

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
Résultat System

CommandManager() public méthode

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
Résultat System

GetCommandsMetaData() public static méthode

public static GetCommandsMetaData ( ) : IEnumerable
Résultat IEnumerable

MatchCommand() public méthode

public MatchCommand ( string commandName, ICommand &command ) : void
commandName string
command ICommand
Résultat void

ParseCommand() public méthode

public ParseCommand ( string commandString, string &args ) : string
commandString string
args string
Résultat string

TryHandleCommand() public méthode

public TryHandleCommand ( string command ) : bool
command string
Résultat bool

TryHandleCommand() public méthode

public TryHandleCommand ( string commandName, string args ) : bool
commandName string
args string
Résultat bool