C# 클래스 SIL.CoreImpl.MemoryWritingSystemStore

A memory-based writing system store.
상속: Palaso.WritingSystems.WritingSystemRepositoryBase, IFwWritingSystemStore
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
CanSave ( WritingSystemDefinition ws, string &path ) : bool

Review JohnT: is there ever a case where Save isn't possible for this store?

CreateNew ( ) : IWritingSystemDefinition

Creates a new writing system definition.

MemoryWritingSystemStore ( ) : System

Use the default repository

Save ( ) : void

Saves this instance.

TryGet ( string identifier, IWritingSystemDefinition &ws ) : bool

Gets the specified writing system if it exists.

WritingSystemIdHasChanged ( string id ) : bool

This is used by the orphan finder, which we don't use (yet). It tells whether, typically in the scope of some current change log, a writing system ID has changed to something else...call WritingSystemIdHasChangedTo to find out what.

WritingSystemIdHasChangedTo ( string id ) : string

This is used by the orphan finder, which we don't use (yet). It tells what, typically in the scope of some current change log, a writing system ID has changed to.

보호된 메소드들

메소드 설명
CreateLdmlAdaptor ( ) : Palaso.WritingSystems.LdmlDataMapper

Creates an LDML adaptor.

메소드 상세

CanSave() 공개 메소드

Review JohnT: is there ever a case where Save isn't possible for this store?
public CanSave ( WritingSystemDefinition ws, string &path ) : bool
ws WritingSystemDefinition
path string
리턴 bool

CreateLdmlAdaptor() 보호된 메소드

Creates an LDML adaptor.
protected CreateLdmlAdaptor ( ) : Palaso.WritingSystems.LdmlDataMapper
리턴 Palaso.WritingSystems.LdmlDataMapper

CreateNew() 공개 메소드

Creates a new writing system definition.
public CreateNew ( ) : IWritingSystemDefinition
리턴 IWritingSystemDefinition

MemoryWritingSystemStore() 공개 메소드

Use the default repository
public MemoryWritingSystemStore ( ) : System
리턴 System

Save() 공개 메소드

Saves this instance.
public Save ( ) : void
리턴 void

TryGet() 공개 메소드

Gets the specified writing system if it exists.
public TryGet ( string identifier, IWritingSystemDefinition &ws ) : bool
identifier string The identifier.
ws IWritingSystemDefinition The writing system.
리턴 bool

WritingSystemIdHasChanged() 공개 메소드

This is used by the orphan finder, which we don't use (yet). It tells whether, typically in the scope of some current change log, a writing system ID has changed to something else...call WritingSystemIdHasChangedTo to find out what.
public WritingSystemIdHasChanged ( string id ) : bool
id string
리턴 bool

WritingSystemIdHasChangedTo() 공개 메소드

This is used by the orphan finder, which we don't use (yet). It tells what, typically in the scope of some current change log, a writing system ID has changed to.
public WritingSystemIdHasChangedTo ( string id ) : string
id string
리턴 string