C# Class IrcDotNet.IrcUser

Inheritance: INotifyPropertyChanged, IIrcMessageSource, IIrcMessageTarget
Afficher le fichier Open project: IrcDotNet/IrcDotNet Class Usage Examples

Private Properties

Свойство Type Description
HandeQuit void
HandleInviteReceived void
IrcUser System
IrcUser System

Méthodes publiques

Méthode Description
GetChannelUsers ( ) : IEnumerable

Gets a collection of all channel users that correspond to the user. Each IrcChannelUser represents a channel of which the user is currently a member.

ToString ( ) : string

Returns a string representation of this instance.

WhoIs ( ) : void

Sends a Who Is query to server for the user.

WhoWas ( int entriesCount = -1 ) : void

Sends a Who Was query to server for the user.

Méthodes protégées

Méthode Description
OnInviteReceived ( IrcChannelInvitationEventArgs e ) : void

Raises the InviteReceived event.

OnIsAwayChanged ( EventArgs e ) : void

Raises the IsAwayChanged event.

OnNickNameChanged ( EventArgs e ) : void

Raises the NickNameChanged event.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the E:PropertyChanged event.

OnQuit ( IrcCommentEventArgs e ) : void

Raises the Quit event.

Private Methods

Méthode Description
HandeQuit ( string comment ) : void
HandleInviteReceived ( IrcUser inviter, IrcChannel channel ) : void
IrcUser ( ) : System
IrcUser ( bool isOnline, string nickName, string userName, string realName ) : System

Method Details

GetChannelUsers() public méthode

Gets a collection of all channel users that correspond to the user. Each IrcChannelUser represents a channel of which the user is currently a member.
public GetChannelUsers ( ) : IEnumerable
Résultat IEnumerable

OnInviteReceived() protected méthode

Raises the InviteReceived event.
protected OnInviteReceived ( IrcChannelInvitationEventArgs e ) : void
e IrcChannelInvitationEventArgs The instance containing the event data.
Résultat void

OnIsAwayChanged() protected méthode

Raises the IsAwayChanged event.
protected OnIsAwayChanged ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Résultat void

OnNickNameChanged() protected méthode

Raises the NickNameChanged event.
protected OnNickNameChanged ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Résultat void

OnPropertyChanged() protected méthode

Raises the E:PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The instance containing the event data.
Résultat void

OnQuit() protected méthode

Raises the Quit event.
protected OnQuit ( IrcCommentEventArgs e ) : void
e IrcCommentEventArgs The instance containing the event data.
Résultat void

ToString() public méthode

Returns a string representation of this instance.
public ToString ( ) : string
Résultat string

WhoIs() public méthode

Sends a Who Is query to server for the user.
public WhoIs ( ) : void
Résultat void

WhoWas() public méthode

Sends a Who Was query to server for the user.
public WhoWas ( int entriesCount = -1 ) : void
entriesCount int /// The maximum number of entries that the server should return. A negative number /// specifies an unlimited number of entries. ///
Résultat void