C# Класс IrcShark.Chatting.Irc.Extended.User

An instance of the User class represents a user on the IRC network.
A User instance gives more information about a user, than a UserInfo instance. You can check see, in what channels the user is, if you are in the channel too.
Наследование: UserInfo
Показать файл Открыть проект

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

Метод Описание
IsIn ( string channelName ) : bool

Checks if the user is in the given channel.

User ( UserInfo info, string channels ) : System

Initializes a new instance of the User class.

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

Метод Описание
Client_JoinReceived ( object sender, JoinReceivedEventArgs e ) : void

Handles received joins and add the user to channels, if it has joined a new one.

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

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

Checks if the user is in the given channel.
public IsIn ( string channelName ) : bool
channelName string The name of the channel to check.
Результат bool

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

Initializes a new instance of the User class.
public User ( UserInfo info, string channels ) : System
info UserInfo The UserInfo of the user to watch.
channels string The channels the user is currently in.
Результат System