C# Class Schumix.Irc.Commands.CommandManager

Inheritance: CommandHandler
Show file Open project: Schumix/Schumix2

Public Properties

Property Type Description
CommandMethodMap CommandMethod>.Dictionary

Public Methods

Method Description
InitializeCommandMgr ( ) : void
SchumixRegisterHandler ( string code, CommandDelegate method, CommandPermission permission = CommandPermission.Normal ) : void
SchumixRegisterHandler ( string code, CommandMethod method ) : void
SchumixRemoveHandler ( string code ) : void
SchumixRemoveHandler ( string code, CommandDelegate method ) : void

Protected Methods

Method Description
CommandManager ( string ServerName ) : System
IncomingInfo ( string handler, IRCMessage sIRCMessage ) : void

Private Methods

Method Description
CreateMappings ( bool Reload = false ) : void
DeleteMappings ( bool Reload = false ) : void
ProcessMethods ( IEnumerable methods ) : void

Method Details

CommandManager() protected method

protected CommandManager ( string ServerName ) : System
ServerName string
return System

IncomingInfo() protected method

protected IncomingInfo ( string handler, IRCMessage sIRCMessage ) : void
handler string
sIRCMessage Schumix.Framework.Irc.IRCMessage
return void

InitializeCommandMgr() public method

public InitializeCommandMgr ( ) : void
return void

SchumixRegisterHandler() public method

public SchumixRegisterHandler ( string code, CommandDelegate method, CommandPermission permission = CommandPermission.Normal ) : void
code string
method CommandDelegate
permission CommandPermission
return void

SchumixRegisterHandler() public method

public SchumixRegisterHandler ( string code, CommandMethod method ) : void
code string
method Schumix.Irc.Commands.Method.CommandMethod
return void

SchumixRemoveHandler() public method

public SchumixRemoveHandler ( string code ) : void
code string
return void

SchumixRemoveHandler() public method

public SchumixRemoveHandler ( string code, CommandDelegate method ) : void
code string
method CommandDelegate
return void

Property Details

CommandMethodMap public property

public Dictionary CommandMethodMap
return CommandMethod>.Dictionary