C# Class CK.WordPredictor.Engines.SybilleWordPredictorEngineFactory

Inheritance: IWordPredictorEngineFactory
ファイルを表示 Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method Description
Create ( string predictorName ) : IWordPredictorEngine
CreateAsync ( string predictorName ) : Task
Release ( IWordPredictorEngine engine ) : void
SybilleWordPredictorEngineFactory ( Func pluginResourceDirectory, Func userPath, IService predictorFeature ) : System
SybilleWordPredictorEngineFactory ( Func pluginResourceDirectory, IService predictorFeature ) : System

Private Methods

Method Description
DoCreate ( string predictorName, string pluginResourcePath, string userPath, IService predictorFeature ) : SybilleWordPredictorEngine
EnsureFileCopy ( string sourcePath, string destDirectoryPath, string fileName ) : string
EnsureFileCreation ( string userPath, string fileName ) : string

Method Details

Create() public method

public Create ( string predictorName ) : IWordPredictorEngine
predictorName string
return IWordPredictorEngine

CreateAsync() public method

public CreateAsync ( string predictorName ) : Task
predictorName string
return Task

Release() public method

public Release ( IWordPredictorEngine engine ) : void
engine IWordPredictorEngine
return void

SybilleWordPredictorEngineFactory() public method

public SybilleWordPredictorEngineFactory ( Func pluginResourceDirectory, Func userPath, IService predictorFeature ) : System
pluginResourceDirectory Func
userPath Func
predictorFeature IService
return System

SybilleWordPredictorEngineFactory() public method

public SybilleWordPredictorEngineFactory ( Func pluginResourceDirectory, IService predictorFeature ) : System
pluginResourceDirectory Func
predictorFeature IService
return System