C# 클래스 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.
파일 보기 프로젝트 열기: yvettec/Dupes

공개 프로퍼티들

프로퍼티 타입 설명
IsCommand bool

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AdaCommand ( bool isCommand, PermissionLevel permission, Action action ) : System
Execute ( string command, string arguments, ChatExchangeDotNet.User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

메소드 상세

AdaCommand() 공개 메소드

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

Execute() 공개 메소드

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
리턴 void

프로퍼티 상세

IsCommand 공개적으로 프로퍼티

public bool IsCommand
리턴 bool