C# Class 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.
Inheritance: UserInfo
Afficher le fichier Open project: hapm/IrcShark

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Client_JoinReceived ( object sender, JoinReceivedEventArgs e ) : void

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

Method Details

IsIn() public méthode

Checks if the user is in the given channel.
public IsIn ( string channelName ) : bool
channelName string The name of the channel to check.
Résultat bool

User() public méthode

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.
Résultat System