Method | Description | |
---|---|---|
CanSave ( WritingSystemDefinition ws, string &path ) : bool |
Since the current implementation of Save does nothing, it's always possible.
|
|
CanSet ( IWritingSystemDefinition ws ) : bool |
Returns true if a call to Set should succeed, false if a call to Set would throw
|
|
Conflate ( string wsToConflate, string wsToConflateWith ) : void |
This is a new required interface member. We don't use it, and I hope we don't use anything which uses it!
|
|
Contains ( string identifier ) : bool |
Returns true if a writing system with the given Store ID exists in the store
|
|
CreateNew ( ) : IWritingSystemDefinition |
Creates a new writing system object and returns it. Set will need to be called once identifying information has been changed in order to save it in the store.
|
|
Exists ( string identifier ) : bool |
Obsolete method retained because required by interface defn for backwards compatibility
|
|
FilterForTextIds ( IEnumerable |
Added to satisfy IWritingSystemRepository definition...implementation copied from WritingSystemRepositoryBase
|
|
Get ( string identifier ) : IWritingSystemDefinition |
Gets the writing system object for the given Store ID
|
|
GetNewStoreIDWhenSet ( IWritingSystemDefinition ws ) : string |
If the given writing system were passed to Set, this function returns the new StoreID that would be assigned.
|
|
GetWsForInputLanguage ( string layoutName, |
Only needed in local store
|
|
GetWsForInputMethod ( IKeyboardDefinition keyboard, IWritingSystemDefinition wsCurrent, IWritingSystemDefinition candidates ) : IWritingSystemDefinition |
Only needed in local store
|
|
GlobalFileWritingSystemStore ( ) : System |
Initializes a new instance of the GlobalFileWritingSystemStore class.
|
|
LastChecked ( string identifier, System.DateTime dateModified ) : void |
|
|
MakeDuplicate ( IWritingSystemDefinition definition ) : IWritingSystemDefinition |
Makes a duplicate of an existing writing system definition. Set will need to be called with this new duplicate once identifying information has been changed in order to place the new definition in the store.
|
|
OnWritingSystemIDChange ( IWritingSystemDefinition ws, string oldId ) : void |
Added to satisfy definition of IWritingSystemRepository...do we need to do anything?
|
|
Remove ( string identifier ) : void |
Removes the writing system with the specified Store ID from the store.
|
|
Save ( ) : void |
Writes the store to a persistable medium, if applicable.
|
|
Set ( IWritingSystemDefinition ws ) : void |
Adds the writing system to the store or updates the store information about an already-existing writing system. Set should be called when there is a change that updates the RFC5646 information.
|
|
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.
|
|
WritingSystemsNewerIn ( IEnumerable |
Returns a list of writing systems from rhs which are newer than ones in the store.
|
Method | Description | |
---|---|---|
GetFileName ( IWritingSystemDefinition ws ) : string | ||
GetFileName ( string identifier ) : string | ||
GetFilePath ( IWritingSystemDefinition ws ) : string | ||
GetFilePath ( string identifier ) : string | ||
GetFromFilePath ( string filePath ) : IWritingSystemDefinition | ||
GlobalFileWritingSystemStore ( string path ) : System |
public CanSave ( WritingSystemDefinition ws, string &path ) : bool | ||
ws | WritingSystemDefinition | |
path | string | |
return | bool |
public CanSet ( IWritingSystemDefinition ws ) : bool | ||
ws | IWritingSystemDefinition | |
return | bool |
public Conflate ( string wsToConflate, string wsToConflateWith ) : void | ||
wsToConflate | string | |
wsToConflateWith | string | |
return | void |
public CreateNew ( ) : IWritingSystemDefinition | ||
return | IWritingSystemDefinition |
public FilterForTextIds ( IEnumerable |
||
idsToFilter | IEnumerable |
|
return | IEnumerable |
public Get ( string identifier ) : IWritingSystemDefinition | ||
identifier | string | |
return | IWritingSystemDefinition |
public GetNewStoreIDWhenSet ( IWritingSystemDefinition ws ) : string | ||
ws | IWritingSystemDefinition | |
return | string |
public GetWsForInputLanguage ( string layoutName, |
||
layoutName | string | |
cultureInfo | ||
wsCurrent | IWritingSystemDefinition | |
candidates | IWritingSystemDefinition | |
return | IWritingSystemDefinition |
public GetWsForInputMethod ( IKeyboardDefinition keyboard, IWritingSystemDefinition wsCurrent, IWritingSystemDefinition candidates ) : IWritingSystemDefinition | ||
keyboard | IKeyboardDefinition | |
wsCurrent | IWritingSystemDefinition | |
candidates | IWritingSystemDefinition | |
return | IWritingSystemDefinition |
public GlobalFileWritingSystemStore ( ) : System | ||
return | System |
public LastChecked ( string identifier, System.DateTime dateModified ) : void | ||
identifier | string | The identifier. |
dateModified | System.DateTime | The date modified. |
return | void |
public MakeDuplicate ( IWritingSystemDefinition definition ) : IWritingSystemDefinition | ||
definition | IWritingSystemDefinition | |
return | IWritingSystemDefinition |
public OnWritingSystemIDChange ( IWritingSystemDefinition ws, string oldId ) : void | ||
ws | IWritingSystemDefinition | |
oldId | string | |
return | void |
public Set ( IWritingSystemDefinition ws ) : void | ||
ws | IWritingSystemDefinition | |
return | void |
public TryGet ( string identifier, IWritingSystemDefinition &ws ) : bool | ||
identifier | string | The identifier. |
ws | IWritingSystemDefinition | The writing system. |
return | bool |
public WritingSystemIdHasChanged ( string id ) : bool | ||
id | string | |
return | bool |
public WritingSystemIdHasChangedTo ( string id ) : string | ||
id | string | |
return | string |
public WritingSystemsNewerIn ( IEnumerable |
||
rhs | IEnumerable |
|
return | IEnumerable |