C# Class NetIRC.Messages.ParsedMessage

Afficher le fichier Open project: kevin-brown/NetIRC Class Usage Examples

Méthodes publiques

Méthode Description
GetCTCP ( ) : string

Gets the CTCP message or null

GetCTCP ( string message ) : string

Gets the CTCP message or null

GetCTCPCommand ( ) : string

Gets the CTCP command

GetCTCPCommand ( string message ) : string

Gets the CTCP command

GetCTCPParameter ( ) : string

Gets the CTCP arguments

GetCTCPParameter ( string message ) : string

Gets the CTCP arguments

GetChannel ( ) : Channel

Gets the Channel the message is targeted at or null

GetChannel ( string channel ) : Channel

Gets or generates a Channel object from the ChannelFactory

GetUser ( ) : User

Gets the User who sent the message or null

GetUser ( string userString ) : User

Gets or generates a User object from the UserFactory

GetUserFromMask ( string userMask ) : User

Gets or generates a User object from the UserFactory

GetUserFromNick ( string nick ) : User

Gets or generates a User object from the UserFactory

HasCTCPParameter ( ) : bool

Checks if the ctcp message contains parameters

HasCTCPParameter ( string message ) : bool

Checks if the ctcp message contains parameters

IsCTCP ( ) : bool

Checks if the message is a Client-to-client protocol message

IsCTCP ( string message ) : bool

Checks if the message is a Client-to-client protocol message

IsChannel ( ) : bool

Determines whether the message is targeted at a channel

IsChannel ( string channel ) : bool

Determines whether the given channel is valid

IsNumeric ( ) : bool

Checks if the message is a numeric one

IsUser ( ) : bool

Determines whether the message is originated from a user

IsUser ( string userMask ) : bool

Determines whether the given userMask is valid

ParsedMessage ( Client client, string message ) : System

Method Details

GetCTCP() public méthode

Gets the CTCP message or null
public GetCTCP ( ) : string
Résultat string

GetCTCP() public static méthode

Gets the CTCP message or null
public static GetCTCP ( string message ) : string
message string
Résultat string

GetCTCPCommand() public méthode

Gets the CTCP command
public GetCTCPCommand ( ) : string
Résultat string

GetCTCPCommand() public static méthode

Gets the CTCP command
public static GetCTCPCommand ( string message ) : string
message string
Résultat string

GetCTCPParameter() public méthode

Gets the CTCP arguments
public GetCTCPParameter ( ) : string
Résultat string

GetCTCPParameter() public static méthode

Gets the CTCP arguments
public static GetCTCPParameter ( string message ) : string
message string
Résultat string

GetChannel() public méthode

Gets the Channel the message is targeted at or null
public GetChannel ( ) : Channel
Résultat Channel

GetChannel() public méthode

Gets or generates a Channel object from the ChannelFactory
public GetChannel ( string channel ) : Channel
channel string
Résultat Channel

GetUser() public méthode

Gets the User who sent the message or null
public GetUser ( ) : User
Résultat User

GetUser() public méthode

Gets or generates a User object from the UserFactory
public GetUser ( string userString ) : User
userString string
Résultat User

GetUserFromMask() public méthode

Gets or generates a User object from the UserFactory
public GetUserFromMask ( string userMask ) : User
userMask string
Résultat User

GetUserFromNick() public méthode

Gets or generates a User object from the UserFactory
public GetUserFromNick ( string nick ) : User
nick string
Résultat User

HasCTCPParameter() public méthode

Checks if the ctcp message contains parameters
public HasCTCPParameter ( ) : bool
Résultat bool

HasCTCPParameter() public static méthode

Checks if the ctcp message contains parameters
public static HasCTCPParameter ( string message ) : bool
message string
Résultat bool

IsCTCP() public méthode

Checks if the message is a Client-to-client protocol message
public IsCTCP ( ) : bool
Résultat bool

IsCTCP() public static méthode

Checks if the message is a Client-to-client protocol message
public static IsCTCP ( string message ) : bool
message string
Résultat bool

IsChannel() public méthode

Determines whether the message is targeted at a channel
public IsChannel ( ) : bool
Résultat bool

IsChannel() public méthode

Determines whether the given channel is valid
public IsChannel ( string channel ) : bool
channel string
Résultat bool

IsNumeric() public méthode

Checks if the message is a numeric one
public IsNumeric ( ) : bool
Résultat bool

IsUser() public méthode

Determines whether the message is originated from a user
public IsUser ( ) : bool
Résultat bool

IsUser() public méthode

Determines whether the given userMask is valid
public IsUser ( string userMask ) : bool
userMask string
Résultat bool

ParsedMessage() public méthode

public ParsedMessage ( Client client, string message ) : System
client Client
message string
Résultat System