C# Класс Ada.Commands.AdaCommandManager

Is either a command or a reply for social nicety.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AdaCommands AdaCommand>.Dictionary

Открытые методы

Метод Описание
AddUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Give user permissions.

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

Discontinue post hunting.

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

Continue Post hunting.

EchoMessage ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
GetCommand ( string content ) : Action
LeaveChat ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
RemoveUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Remove users permissions.

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

No where near having ready.

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

Get permission status of user.

Приватные методы

Метод Описание
ShowCommands ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Show list of commands. duh

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

Описание методов

AddUser() публичный статический Метод

Give user permissions.
public static AddUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

Break() публичный статический Метод

Discontinue post hunting.
public static Break ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

Continue() публичный статический Метод

Continue Post hunting.
public static Continue ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

EchoMessage() публичный статический Метод

public static EchoMessage ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

GetCommand() публичный Метод

public GetCommand ( string content ) : Action
content string
Результат Action

LeaveChat() публичный статический Метод

public static LeaveChat ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

RemoveUser() публичный статический Метод

Remove users permissions.
public static RemoveUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

SummaryReport() публичный статический Метод

No where near having ready.
public static SummaryReport ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

UserStatus() публичный статический Метод

Get permission status of user.
public static UserStatus ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
Результат void

Описание свойств

AdaCommands публичное статическое свойство

public static Dictionary AdaCommands
Результат AdaCommand>.Dictionary