C# Class Radegast.IMTextManager

显示文件 Open project: radegastdev/radegast Class Usage Examples

Public Properties

Property Type Description
DingOnAllIncoming bool
fontSettings Settings.FontSetting>.Dictionary

Private Properties

Property Type Description
AddNetcomEvents void
InitializeConfig void
PrintIM void
PrintLastLog void
ProcessIncomingIM void
ProcessOutgoingIM void
RemoveNetcomEvents void
netcom_InstantMessageReceived void
netcom_InstantMessageSent void
s_OnSettingChanged void

Public Methods

Method Description
CleanUp ( ) : void
ClearInternalBuffer ( ) : void
DisplayNotification ( string message ) : void
IMTextManager ( Radegast.RadegastInstance instance, ITextPrinter textPrinter, IMTextManagerType type, UUID sessionID, string sessionName ) : System
ProcessIM ( object e, bool isNewMessage ) : void
ReadEndTokens ( string path, System.Int64 numberOfTokens, Encoding encoding, string tokenSeparator ) : string
ReprintAllText ( ) : void

Private Methods

Method Description
AddNetcomEvents ( ) : void
InitializeConfig ( ) : void
PrintIM ( System.DateTime timestamp, string fromName, UUID fromID, string message, bool isNewMessage ) : void
PrintLastLog ( ) : void
ProcessIncomingIM ( OpenMetaverse.InstantMessageEventArgs e, bool isNewMessage ) : void
ProcessOutgoingIM ( Radegast.Netcom.InstantMessageSentEventArgs e, bool isNewMessage ) : void
RemoveNetcomEvents ( ) : void
netcom_InstantMessageReceived ( object sender, OpenMetaverse.InstantMessageEventArgs e ) : void
netcom_InstantMessageSent ( object sender, Radegast.Netcom.InstantMessageSentEventArgs e ) : void
s_OnSettingChanged ( object sender, SettingsEventArgs e ) : void

Method Details

CleanUp() public method

public CleanUp ( ) : void
return void

ClearInternalBuffer() public method

public ClearInternalBuffer ( ) : void
return void

DisplayNotification() public method

public DisplayNotification ( string message ) : void
message string
return void

IMTextManager() public method

public IMTextManager ( Radegast.RadegastInstance instance, ITextPrinter textPrinter, IMTextManagerType type, UUID sessionID, string sessionName ) : System
instance Radegast.RadegastInstance
textPrinter ITextPrinter
type IMTextManagerType
sessionID UUID
sessionName string
return System

ProcessIM() public method

public ProcessIM ( object e, bool isNewMessage ) : void
e object
isNewMessage bool
return void

ReadEndTokens() public static method

public static ReadEndTokens ( string path, System.Int64 numberOfTokens, Encoding encoding, string tokenSeparator ) : string
path string
numberOfTokens System.Int64
encoding System.Text.Encoding
tokenSeparator string
return string

ReprintAllText() public method

public ReprintAllText ( ) : void
return void

Property Details

DingOnAllIncoming public_oe property

public bool DingOnAllIncoming
return bool

fontSettings public_oe static_oe property

public static Dictionary fontSettings
return Settings.FontSetting>.Dictionary