C# Класс CK.WordPredictor.TextualContextService

Наследование: IPlugin, ITextualContextService
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ClearContext void
InternalSetRawText void
IsResetContextToken bool
IsTokenSeparator bool
Normalization string[]
OnCommandTextualContextServiceStatusChanged void
OnPredictionAreaServiceStatusChanged void
OnSendKeyServiceStatusChanged void
OnSendStringServiceStatusChanged void
SetToken void

Открытые методы

Метод Описание
SetRawText ( string value ) : void
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

OnKeySent() защищенный Метод

protected OnKeySent ( object sender, NativeKeySentEventArgs e ) : void
sender object
e CK.Plugins.SendInputDriver.NativeKeySentEventArgs
Результат void

OnOldKeySent() защищенный Метод

protected OnOldKeySent ( object sender, KeySentEventArgs e ) : void
sender object
e CommonServices.KeySentEventArgs
Результат void

OnPredictionAreaContentSent() защищенный Метод

protected OnPredictionAreaContentSent ( object sender, PredictionAreaContentEventArgs e ) : void
sender object
e CK.WordPredictor.Model.PredictionAreaContentEventArgs
Результат void

OnPredictionAreaServicePropertyChanged() защищенный Метод

protected OnPredictionAreaServicePropertyChanged ( object sender, PredictionAreaContentEventArgs e ) : void
sender object
e CK.WordPredictor.Model.PredictionAreaContentEventArgs
Результат void

OnStringSent() защищенный Метод

protected OnStringSent ( object sender, StringSentEventArgs e ) : void
sender object
e CK.Plugins.SendInputDriver.StringSentEventArgs
Результат void

OnTextualContextClear() защищенный Метод

protected OnTextualContextClear ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

SetRawText() публичный Метод

public SetRawText ( string value ) : void
value string
Результат void

Setup() публичный Метод

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
Результат bool

Start() публичный Метод

public Start ( ) : void
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void

Teardown() публичный Метод

public Teardown ( ) : void
Результат void