C# Class IrcDotNet.IrcTargetMask

Represents a mask of an IRC server name or host name, used for specifying the targets of a message.
Inheritance: IIrcMessageTarget
Datei anzeigen Open project: IrcDotNet/IrcDotNet

Private Properties

Property Type Description

Public Methods

Method Description
IrcTargetMask ( IrcTargetMaskType type, string mask ) : System

Initializes a new instance of the IrcTargetMask class with the specified type and mask.

IrcTargetMask ( string targetMask ) : System

Initializes a new instance of the IrcTargetMask class with the specified target mask identifier.

ToString ( ) : string

Returns a string representation of this instance.

Method Details

IrcTargetMask() public method

Initializes a new instance of the IrcTargetMask class with the specified type and mask.
public IrcTargetMask ( IrcTargetMaskType type, string mask ) : System
type IrcTargetMaskType The type.
mask string The mask.
return System

IrcTargetMask() public method

Initializes a new instance of the IrcTargetMask class with the specified target mask identifier.
is The length of is too short. /// does not represent a known mask type. ///
public IrcTargetMask ( string targetMask ) : System
targetMask string /// A wildcard expression for matching against server names or host names. /// If the first character is '$', the mask is a server mask; if the first character is '#', the mask is a host /// mask. ///
return System

ToString() public method

Returns a string representation of this instance.
public ToString ( ) : string
return string