C# Class Yaircc.Net.IRC.MessageTypeAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: rastating/yaircc Class Usage Examples

Public Methods

Method Description
MessageTypeAttribute ( MessageType messageType ) : System

Initialises a new instance of the MessageTypeAttribute class.

MessageTypeAttribute ( MessageType messageType, Type delegateType, string delegateName ) : System

Initialises a new instance of the MessageTypeAttribute class.

MessageTypeAttribute ( MessageType messageType, string outputFormat ) : System

Initialises a new instance of the MessageTypeAttribute class.

MessageTypeAttribute ( MessageType messageType, string outputFormat, string parameterDelimiter ) : System

Initialises a new instance of the MessageTypeAttribute class.

Method Details

MessageTypeAttribute() public method

Initialises a new instance of the MessageTypeAttribute class.
public MessageTypeAttribute ( MessageType messageType ) : System
messageType MessageType The message type.
return System

MessageTypeAttribute() public method

Initialises a new instance of the MessageTypeAttribute class.
public MessageTypeAttribute ( MessageType messageType, Type delegateType, string delegateName ) : System
messageType MessageType The message type.
delegateType System.Type The delegate type.
delegateName string The name of the delegate.
return System

MessageTypeAttribute() public method

Initialises a new instance of the MessageTypeAttribute class.
public MessageTypeAttribute ( MessageType messageType, string outputFormat ) : System
messageType MessageType The message type.
outputFormat string The format to be used when outputting the message to screen /// {0} will be replaced with all parameters (excluding the trailing parameter) separated by a . /// {1} will be replaced with the trailing parameter. /// {2} will be replaced with the prefix. /// All others parameters are sequentially accessed e.g. the first parameter would be {3}
return System

MessageTypeAttribute() public method

Initialises a new instance of the MessageTypeAttribute class.
public MessageTypeAttribute ( MessageType messageType, string outputFormat, string parameterDelimiter ) : System
messageType MessageType The message type.
outputFormat string The format to be used when outputting the message to screen /// {0} will be replaced with all parameters (excluding the trailing parameter) separated by a . /// {1} will be replaced with the trailing parameter. /// {2} will be replaced with the prefix. /// All others parameters are sequentially accessed e.g. the first parameter would be {3}
parameterDelimiter string The delimiter to use when outputting all parameters.
return System