C# Class CK.WordPredictor.TextualContextService

Inheritance: IPlugin, ITextualContextService
Datei anzeigen Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Property Type Description
ClearContext void
InternalSetRawText void
IsResetContextToken bool
IsTokenSeparator bool
Normalization string[]
OnCommandTextualContextServiceStatusChanged void
OnPredictionAreaServiceStatusChanged void
OnSendKeyServiceStatusChanged void
OnSendStringServiceStatusChanged void
SetToken void

Public Methods

Method Description
SetRawText ( string value ) : void
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void

Protected Methods

Method Description
OnKeySent ( object sender, NativeKeySentEventArgs e ) : void
OnOldKeySent ( object sender, KeySentEventArgs e ) : void
OnPredictionAreaContentSent ( object sender, PredictionAreaContentEventArgs e ) : void
OnPredictionAreaServicePropertyChanged ( object sender, PredictionAreaContentEventArgs e ) : void
OnStringSent ( object sender, StringSentEventArgs e ) : void
OnTextualContextClear ( object sender, EventArgs e ) : void

Private Methods

Method Description
ClearContext ( ) : void
InternalSetRawText ( string value ) : void
IsResetContextToken ( string token ) : bool
IsTokenSeparator ( string token ) : bool
Normalization ( string context ) : string[]

Splits the context (seperates the different words)

OnCommandTextualContextServiceStatusChanged ( object sender, CK.Plugin.ServiceStatusChangedEventArgs e ) : void
OnPredictionAreaServiceStatusChanged ( object sender, CK.Plugin.ServiceStatusChangedEventArgs e ) : void
OnSendKeyServiceStatusChanged ( object sender, CK.Plugin.ServiceStatusChangedEventArgs e ) : void
OnSendStringServiceStatusChanged ( object sender, CK.Plugin.ServiceStatusChangedEventArgs e ) : void
SetToken ( string token ) : void

Method Details

OnKeySent() protected method

protected OnKeySent ( object sender, NativeKeySentEventArgs e ) : void
sender object
e CK.Plugins.SendInputDriver.NativeKeySentEventArgs
return void

OnOldKeySent() protected method

protected OnOldKeySent ( object sender, KeySentEventArgs e ) : void
sender object
e CommonServices.KeySentEventArgs
return void

OnPredictionAreaContentSent() protected method

protected OnPredictionAreaContentSent ( object sender, PredictionAreaContentEventArgs e ) : void
sender object
e CK.WordPredictor.Model.PredictionAreaContentEventArgs
return void

OnPredictionAreaServicePropertyChanged() protected method

protected OnPredictionAreaServicePropertyChanged ( object sender, PredictionAreaContentEventArgs e ) : void
sender object
e CK.WordPredictor.Model.PredictionAreaContentEventArgs
return void

OnStringSent() protected method

protected OnStringSent ( object sender, StringSentEventArgs e ) : void
sender object
e CK.Plugins.SendInputDriver.StringSentEventArgs
return void

OnTextualContextClear() protected method

protected OnTextualContextClear ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SetRawText() public method

public SetRawText ( string value ) : void
value string
return void

Setup() public method

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Teardown() public method

public Teardown ( ) : void
return void