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.
Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method 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 method

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

SaveSettings() public static method

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