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
Mostra file Open project: hapm/IrcShark Class Usage Examples

Public Methods

Method 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 method

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

IrcStandardDefinition() public method

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. ///
return System

IsAllowedChannel() public method

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.
return bool