C# Class Bot.Components.CommandComponent

Inheritance: Core.Component.Component
Exibir arquivo Open project: Crobol/Bot

Private Properties

Property Type Description
CommandCompletedCallback void
InvokeCommand void
LoadCommands void
OnBotCommandMessage void
RegisterCommands void
Reload void
SendIrcResponse void
SendIrcResponse void

Public Methods

Method Description
CommandComponent ( ITinyMessengerHub hub, IPersistentStore store ) : System

Private Methods

Method Description
CommandCompletedCallback ( IAsyncResult ar ) : void
InvokeCommand ( string commandName, InvokeCommandMessage message ) : void
LoadCommands ( ) : void
OnBotCommandMessage ( InvokeCommandMessage message ) : void
RegisterCommands ( ) : void

Register user invocable commands

Reload ( ) : void
SendIrcResponse ( InvokeCommandMessage message, IEnumerable response ) : void
SendIrcResponse ( SendType sendType, string address, string channel, IEnumerable response ) : void

Method Details

CommandComponent() public method

public CommandComponent ( ITinyMessengerHub hub, IPersistentStore store ) : System
hub ITinyMessengerHub
store IPersistentStore
return System