C# 클래스 IrcDotNet.IrcLocalUser

상속: IrcUser, IIrcMessageSendHandler, IIrcMessageReceiveHandler, IIrcMessageReceiver
파일 보기 프로젝트 열기: IrcDotNet/IrcDotNet 1 사용 예제들

공개 메소드들

메소드 설명
GetModes ( ) : void

Requests a list of the current modes of the user.

SendMessage ( IEnumerable targets, string text ) : void

A message target may be an IrcUser, IrcChannel, or IrcTargetMask.

SendMessage ( IEnumerable targets, string text, Encoding encoding = null ) : void

Sends a message to the specified target.

SendMessage ( IIrcMessageTarget target, string text ) : void
SendMessage ( string target, string text ) : void
SendNotice ( IEnumerable targets, string text ) : void

A message target may be an IrcUser, IrcChannel, or IrcTargetMask.

SendNotice ( IEnumerable targets, string text, Encoding encoding = null ) : void

Sends a notice to the specified target.

SendNotice ( IIrcMessageTarget target, string text ) : void
SendNotice ( string target, string text ) : void
SetAway ( string text ) : void

Sets the local user as away, giving the specified message.

SetModes ( ) : void
SetModes ( IEnumerable newModes ) : void
SetModes ( IEnumerable setModes, IEnumerable unsetModes ) : void
SetModes ( string modes ) : void

Sets the specified modes on the local user.

SetNickName ( string nickName ) : void

Sets the nick name of the local user to the specified text.

UnsetAway ( ) : void

Sets the local user as here (no longer away).

보호된 메소드들

메소드 설명
OnJoinedChannel ( IrcChannelEventArgs e ) : void

Raises the JoinedChannel event.

OnLeftChannel ( IrcChannelEventArgs e ) : void

Raises the LeftChannel event.

OnMessageReceived ( IrcMessageEventArgs e ) : void

Raises the MessageReceived event.

OnMessageSent ( IrcMessageEventArgs e ) : void

Raises the MessageSent event.

OnModesChanged ( EventArgs e ) : void

Raises the ModesChanged event.

OnNoticeReceived ( IrcMessageEventArgs e ) : void

Raises the NoticeReceived event.

OnNoticeSent ( IrcMessageEventArgs e ) : void

Raises the NoticeSent event.

OnPreviewMessageReceived ( IrcPreviewMessageEventArgs e ) : void

Raises the PreviewMessageReceived event.

OnPreviewNoticeReceived ( IrcPreviewMessageEventArgs e ) : void

Raises the PreviewNoticeReceived event.

비공개 메소드들

메소드 설명
HandleJoinedChannel ( IrcChannel channel ) : void
HandleLeftChannel ( IrcChannel channel ) : void
HandleMessageReceived ( IIrcMessageSource source, IList targets, string text ) : void
HandleMessageSent ( IList targets, string text ) : void
HandleModesChanged ( string newModes ) : void
HandleNoticeReceived ( IIrcMessageSource source, IList targets, string text ) : void
HandleNoticeSent ( IList targets, string text ) : void
IIrcMessageReceiveHandler ( IIrcMessageSource source, IList targets, string text ) : void
IIrcMessageSendHandler ( IList targets, string text ) : void
IrcLocalUser ( string nickName, string distribution, string description ) : System
IrcLocalUser ( string nickName, string userName, string realName, IEnumerable modes = null ) : System

메소드 상세

GetModes() 공개 메소드

Requests a list of the current modes of the user.
public GetModes ( ) : void
리턴 void

OnJoinedChannel() 보호된 메소드

Raises the JoinedChannel event.
protected OnJoinedChannel ( IrcChannelEventArgs e ) : void
e IrcChannelEventArgs The instance containing the event data.
리턴 void

OnLeftChannel() 보호된 메소드

Raises the LeftChannel event.
protected OnLeftChannel ( IrcChannelEventArgs e ) : void
e IrcChannelEventArgs The instance containing the event data.
리턴 void

OnMessageReceived() 보호된 메소드

Raises the MessageReceived event.
protected OnMessageReceived ( IrcMessageEventArgs e ) : void
e IrcMessageEventArgs The instance containing the event data.
리턴 void

OnMessageSent() 보호된 메소드

Raises the MessageSent event.
protected OnMessageSent ( IrcMessageEventArgs e ) : void
e IrcMessageEventArgs The instance containing the event data.
리턴 void

OnModesChanged() 보호된 메소드

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

OnNoticeReceived() 보호된 메소드

Raises the NoticeReceived event.
protected OnNoticeReceived ( IrcMessageEventArgs e ) : void
e IrcMessageEventArgs The instance containing the event data.
리턴 void

OnNoticeSent() 보호된 메소드

Raises the NoticeSent event.
protected OnNoticeSent ( IrcMessageEventArgs e ) : void
e IrcMessageEventArgs The instance containing the event data.
리턴 void

OnPreviewMessageReceived() 보호된 메소드

Raises the PreviewMessageReceived event.
protected OnPreviewMessageReceived ( IrcPreviewMessageEventArgs e ) : void
e IrcPreviewMessageEventArgs The instance containing the event data.
리턴 void

OnPreviewNoticeReceived() 보호된 메소드

Raises the PreviewNoticeReceived event.
protected OnPreviewNoticeReceived ( IrcPreviewMessageEventArgs e ) : void
e IrcPreviewMessageEventArgs The instance containing the event data.
리턴 void

SendMessage() 공개 메소드

A message target may be an IrcUser, IrcChannel, or IrcTargetMask.
public SendMessage ( IEnumerable targets, string text ) : void
targets IEnumerable A collection of targets to which to send the message.
text string
리턴 void

SendMessage() 공개 메소드

Sends a message to the specified target.
is . is .
public SendMessage ( IEnumerable targets, string text, Encoding encoding = null ) : void
targets IEnumerable A collection of the names of targets to which to send the message.
text string The ASCII-encoded text of the message to send.
encoding System.Text.Encoding The encoding in which to send the value of .
리턴 void

SendMessage() 공개 메소드

public SendMessage ( IIrcMessageTarget target, string text ) : void
target IIrcMessageTarget The to which to send the message.
text string
리턴 void

SendMessage() 공개 메소드

public SendMessage ( string target, string text ) : void
target string The name of the target to which to send the message.
text string
리턴 void

SendNotice() 공개 메소드

A message target may be an IrcUser, IrcChannel, or IrcTargetMask.
public SendNotice ( IEnumerable targets, string text ) : void
targets IEnumerable A collection of targets to which to send the notice.
text string
리턴 void

SendNotice() 공개 메소드

Sends a notice to the specified target.
is . is .
public SendNotice ( IEnumerable targets, string text, Encoding encoding = null ) : void
targets IEnumerable A collection of the names of targets to which to send the notice.
text string The ASCII-encoded text of the notice to send.
encoding System.Text.Encoding The encoding in which to send the value of .
리턴 void

SendNotice() 공개 메소드

public SendNotice ( IIrcMessageTarget target, string text ) : void
target IIrcMessageTarget The to which to send the notice.
text string
리턴 void

SendNotice() 공개 메소드

public SendNotice ( string target, string text ) : void
target string The name of the target to which to send the notice.
text string
리턴 void

SetAway() 공개 메소드

Sets the local user as away, giving the specified message.
is .
public SetAway ( string text ) : void
text string The text of the response sent to a user when they try to message you while away.
리턴 void

SetModes() 공개 메소드

public SetModes ( ) : void
리턴 void

SetModes() 공개 메소드

is .
public SetModes ( IEnumerable newModes ) : void
newModes IEnumerable /// A collection of mode characters that should become the new modes. /// Any modes in the collection that are not currently set will be set, and any nodes not in the collection that /// are currently set will be unset. ///
리턴 void

SetModes() 공개 메소드

is . is .
public SetModes ( IEnumerable setModes, IEnumerable unsetModes ) : void
setModes IEnumerable
unsetModes IEnumerable
리턴 void

SetModes() 공개 메소드

Sets the specified modes on the local user.
is .
public SetModes ( string modes ) : void
modes string /// The mode string that specifies mode changes, which takes the form /// `( "+" / "-" ) *( mode character )`. ///
리턴 void

SetNickName() 공개 메소드

Sets the nick name of the local user to the specified text.
is .
public SetNickName ( string nickName ) : void
nickName string The new nick name of the local user.
리턴 void

UnsetAway() 공개 메소드

Sets the local user as here (no longer away).
public UnsetAway ( ) : void
리턴 void