C# Class SIL.FieldWorks.XWorks.GlobalSettingServices

Global setting services provides a simple API for persisting and restoring global settings that affect all windows. The intended use is that each window, when it saves its settings, passes its property table to SaveSettings so that any global settings can be recorded. The first window to open (on a particular database) should call RestoreSettings.
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
RestoreSettings ( IFdoServiceLocator services, PropertyTable propertyTable ) : void

Restore any appropriate settings which have values in the property table

SaveSettings ( IFdoServiceLocator services, PropertyTable propertyTable ) : void

Save any appropriate settings to the property table

Method Details

RestoreSettings() public static méthode

Restore any appropriate settings which have values in the property table
public static RestoreSettings ( IFdoServiceLocator services, PropertyTable propertyTable ) : void
services IFdoServiceLocator
propertyTable XCore.PropertyTable
Résultat void

SaveSettings() public static méthode

Save any appropriate settings to the property table
public static SaveSettings ( IFdoServiceLocator services, PropertyTable propertyTable ) : void
services IFdoServiceLocator
propertyTable XCore.PropertyTable
Résultat void