C# Class SIL.FieldWorks.SharpViews.SharpViewsTests.MockWsf

Inheritance: ILgWritingSystemFactory
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
AddEngine ( ILgWritingSystem _wseng ) : void
AddWritingSystem ( int ws, string bstrIcuLocale ) : void
Clear ( ) : void
GetStrFromWs ( int wsId ) : string
GetWritingSystems ( SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgws, int cws ) : void
GetWsFromStr ( string key ) : int
RemoveEngine ( int ws ) : void
SaveWritingSystems ( ) : void
Serialize ( IStorage _stg ) : void
Shutdown ( ) : void
get_CharPropEngine ( int ws ) : ILgCharacterPropertyEngine
get_DefaultCollater ( int ws ) : ILgCollatingEngine
get_Engine ( string bstrIcuLocale ) : ILgWritingSystem
get_EngineOrNull ( int ws ) : ILgWritingSystem
get_Renderer ( int ws, IVwGraphics _vg ) : IRenderEngine
get_RendererFromChrp ( IVwGraphics vg, LgCharRenderProps &_chrp ) : IRenderEngine
get_RendererFromChrp ( LgCharRenderProps &_chrp ) : IRenderEngine

Private Methods

Method Description
MakeMockEngine ( int ws, string id, IRenderEngine renderer ) : MockWsEngine

Method Details

AddEngine() public method

public AddEngine ( ILgWritingSystem _wseng ) : void
_wseng ILgWritingSystem
return void

AddWritingSystem() public method

public AddWritingSystem ( int ws, string bstrIcuLocale ) : void
ws int
bstrIcuLocale string
return void

Clear() public method

public Clear ( ) : void
return void

GetStrFromWs() public method

public GetStrFromWs ( int wsId ) : string
wsId int
return string

GetWritingSystems() public method

public GetWritingSystems ( SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgws, int cws ) : void
rgws SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
cws int
return void

GetWsFromStr() public method

public GetWsFromStr ( string key ) : int
key string
return int

RemoveEngine() public method

public RemoveEngine ( int ws ) : void
ws int
return void

SaveWritingSystems() public method

public SaveWritingSystems ( ) : void
return void

Serialize() public method

public Serialize ( IStorage _stg ) : void
_stg IStorage
return void

Shutdown() public method

public Shutdown ( ) : void
return void

get_CharPropEngine() public method

public get_CharPropEngine ( int ws ) : ILgCharacterPropertyEngine
ws int
return ILgCharacterPropertyEngine

get_DefaultCollater() public method

public get_DefaultCollater ( int ws ) : ILgCollatingEngine
ws int
return ILgCollatingEngine

get_Engine() public method

public get_Engine ( string bstrIcuLocale ) : ILgWritingSystem
bstrIcuLocale string
return ILgWritingSystem

get_EngineOrNull() public method

public get_EngineOrNull ( int ws ) : ILgWritingSystem
ws int
return ILgWritingSystem

get_Renderer() public method

public get_Renderer ( int ws, IVwGraphics _vg ) : IRenderEngine
ws int
_vg IVwGraphics
return IRenderEngine

get_RendererFromChrp() public method

public get_RendererFromChrp ( IVwGraphics vg, LgCharRenderProps &_chrp ) : IRenderEngine
vg IVwGraphics
_chrp LgCharRenderProps
return IRenderEngine

get_RendererFromChrp() public method

public get_RendererFromChrp ( LgCharRenderProps &_chrp ) : IRenderEngine
_chrp LgCharRenderProps
return IRenderEngine