C# Class IrcDotNet.IrcChannelUser

Inheritance: INotifyPropertyChanged
ファイルを表示 Open project: IrcDotNet/IrcDotNet Class Usage Examples

Public Methods

Method Description
DeOp ( ) : void

Removes operator privileges from the user in the channel.

DeVoice ( ) : void

Devoices the user in the channel

Kick ( string comment = null ) : void

Kicks the user from the channel, giving the specified comment.

Op ( ) : void

Gives the user operator privileges in the channel.

ToString ( ) : string

Returns a string representation of this instance.

Voice ( ) : void

Voices the user in the channel.

Protected Methods

Method Description
OnModesChanged ( EventArgs e ) : void

Raises the ModesChanged event.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

Private Methods

Method Description
HandleModeChanged ( bool add, char mode ) : void
IrcChannelUser ( IrcUser user, IEnumerable modes = null ) : System

Method Details

DeOp() public method

Removes operator privileges from the user in the channel.
public DeOp ( ) : void
return void

DeVoice() public method

Devoices the user in the channel
public DeVoice ( ) : void
return void

Kick() public method

Kicks the user from the channel, giving the specified comment.
public Kick ( string comment = null ) : void
comment string The comment to give for the kick, or for none.
return void

OnModesChanged() protected method

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

OnPropertyChanged() protected method

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

Op() public method

Gives the user operator privileges in the channel.
public Op ( ) : void
return void

ToString() public method

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

Voice() public method

Voices the user in the channel.
public Voice ( ) : void
return void