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
파일 보기 프로젝트 열기: hapm/IrcShark

공개 메소드들

메소드 설명
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