C# 클래스 SIL.CoreImpl.LocalFileWritingSystemStore

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

공개 메소드들

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

Return true if it will be possible (absent someone changing permissions while we aren't looking) to save changes to the specified writing system.

CreateNew ( ) : IWritingSystemDefinition

Creates a new writing system definition.

LastChecked ( string identifier, System.DateTime dateModified ) : void

LocalFileWritingSystemStore ( string path ) : System

Initializes a new instance of the LocalFileWritingSystemStore class.

LocalFileWritingSystemStore ( string path, IFwWritingSystemStore globalStore ) : System

Initializes a new instance of the LocalFileWritingSystemStore class.

Remove ( string identifier ) : void

Removes the specified identifier.

Save ( ) : void

Saves this instance.

TryGet ( string identifier, IWritingSystemDefinition &ws ) : bool

Gets the specified writing system if it exists.

보호된 메소드들

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

Creates an LDML adaptor.

OnChangeNotifySharedStore ( IWritingSystemDefinition ws ) : void

비공개 메소드들

메소드 설명
ReadGlobalWritingSystemsToIgnore ( ) : void
WriteGlobalWritingSystemsToIgnore ( ) : void

메소드 상세

CanSave() 공개 메소드

Return true if it will be possible (absent someone changing permissions while we aren't looking) to save changes to the specified writing system.
public CanSave ( WritingSystemDefinition ws, string &filePath ) : bool
ws WritingSystemDefinition
filePath 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

LastChecked() 공개 메소드

public LastChecked ( string identifier, System.DateTime dateModified ) : void
identifier string The identifier.
dateModified System.DateTime The date modified.
리턴 void

LocalFileWritingSystemStore() 공개 메소드

Initializes a new instance of the LocalFileWritingSystemStore class.
public LocalFileWritingSystemStore ( string path ) : System
path string The path.
리턴 System

LocalFileWritingSystemStore() 공개 메소드

Initializes a new instance of the LocalFileWritingSystemStore class.
public LocalFileWritingSystemStore ( string path, IFwWritingSystemStore globalStore ) : System
path string The path.
globalStore IFwWritingSystemStore The global store.
리턴 System

OnChangeNotifySharedStore() 보호된 메소드

protected OnChangeNotifySharedStore ( IWritingSystemDefinition ws ) : void
ws IWritingSystemDefinition The ws.
리턴 void

Remove() 공개 메소드

Removes the specified identifier.
public Remove ( string identifier ) : void
identifier string The identifier.
리턴 void

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