C# Class Ada.Commands.AdaCommand

Class of Command Type, determine whether a receiveed message string is a command or chat reply. True if Command, false if chat reply.
Show file Open project: yvettec/Dupes

Public Properties

Property Type Description
IsCommand bool

Private Properties

Property Type Description

Public Methods

Method Description
AdaCommand ( bool isCommand, PermissionLevel permission, Action action ) : System
Execute ( string command, string arguments, ChatExchangeDotNet.User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Method Details

AdaCommand() public method

public AdaCommand ( bool isCommand, PermissionLevel permission, Action action ) : System
isCommand bool
permission PermissionLevel
action Action
return System

Execute() public method

public Execute ( string command, string arguments, ChatExchangeDotNet.User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user ChatExchangeDotNet.User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

Property Details

IsCommand public property

public bool IsCommand
return bool