C# Class IrcShark.Chatting.Irc.IrcStandardDefinition

This class saves the standard, used by a server, the associated IrcShark.Chatting.Irc.IrcClient is connected to.
Inheritance: IIrcObject
Afficher le fichier Open project: hapm/IrcShark Class Usage Examples

Méthodes publiques

Méthode Description
GetUserPrefixFlag ( char flag ) : FlagDefinition

Gets the FlagDefinition for the given flag if it is a user prefix flag.

IrcStandardDefinition ( IrcClient client ) : System

Initializes a new instance of the IrcStandardDefinition class and associates it with the given client.

IsAllowedChannel ( string channelName ) : bool

Checks if the given string can be used as a channelname in this standard.

Method Details

GetUserPrefixFlag() public méthode

Gets the FlagDefinition for the given flag if it is a user prefix flag.
public GetUserPrefixFlag ( char flag ) : FlagDefinition
flag char The flag character.
Résultat FlagDefinition

IrcStandardDefinition() public méthode

Initializes a new instance of the IrcStandardDefinition class and associates it with the given client.
public IrcStandardDefinition ( IrcClient client ) : System
client IrcClient /// The , this StandardDefinition belongs to. ///
Résultat System

IsAllowedChannel() public méthode

Checks if the given string can be used as a channelname in this standard.
public IsAllowedChannel ( string channelName ) : bool
channelName string The name to test.
Résultat bool