C# Class IrcDotNet.IrcUser

Inheritance: INotifyPropertyChanged, IIrcMessageSource, IIrcMessageTarget
Show file Open project: IrcDotNet/IrcDotNet Class Usage Examples

Private Properties

Property Type Description
HandeQuit void
HandleInviteReceived void
IrcUser System
IrcUser System

Public Methods

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

Protected Methods

Method 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

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

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
return IEnumerable

OnInviteReceived() protected method

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

OnIsAwayChanged() protected method

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

OnNickNameChanged() protected method

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

OnPropertyChanged() protected method

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

OnQuit() protected method

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

ToString() public method

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

WhoIs() public method

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

WhoWas() public method

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