C# Класс IrcDotNet.IrcUser

Наследование: INotifyPropertyChanged, IIrcMessageSource, IIrcMessageTarget
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
HandeQuit void
HandleInviteReceived void
IrcUser System
IrcUser System

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
HandeQuit ( string comment ) : void
HandleInviteReceived ( IrcUser inviter, IrcChannel channel ) : void
IrcUser ( ) : System
IrcUser ( bool isOnline, string nickName, string userName, string realName ) : System

Описание методов

GetChannelUsers() публичный Метод

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
Результат IEnumerable

OnInviteReceived() защищенный Метод

Raises the InviteReceived event.
protected OnInviteReceived ( IrcChannelInvitationEventArgs e ) : void
e IrcChannelInvitationEventArgs The instance containing the event data.
Результат void

OnIsAwayChanged() защищенный Метод

Raises the IsAwayChanged event.
protected OnIsAwayChanged ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Результат void

OnNickNameChanged() защищенный Метод

Raises the NickNameChanged event.
protected OnNickNameChanged ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Результат void

OnPropertyChanged() защищенный Метод

Raises the E:PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The instance containing the event data.
Результат void

OnQuit() защищенный Метод

Raises the Quit event.
protected OnQuit ( IrcCommentEventArgs e ) : void
e IrcCommentEventArgs The instance containing the event data.
Результат void

ToString() публичный Метод

Returns a string representation of this instance.
public ToString ( ) : string
Результат string

WhoIs() публичный Метод

Sends a Who Is query to server for the user.
public WhoIs ( ) : void
Результат void

WhoWas() публичный Метод

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. ///
Результат void