C# Class XCore.PersistenceProvider

A PersistenceProvider which uses the XCore PropertyTable
Inheritance: IPersistenceProvider
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Свойство Type Description
m_contextString string
m_propertyTable PropertyTable

Méthodes publiques

Méthode Description
GetInfoObject ( string id, Object defaultValue ) : Object
PersistWindowSettings ( string id, Form form ) : void
PersistenceProvider ( PropertyTable propertyTable ) : System

create a PersistenceProvider which uses the XCore PropertyTable.

PersistenceProvider ( string context, PropertyTable propertyTable ) : System

create a PersistenceProvider which uses the XCore PropertyTable.

RestoreWindowSettings ( string id, Form form ) : void
SetInfoObject ( string id, Object info ) : void

Méthodes protégées

Méthode Description
Get ( string id, string label ) : object
GetPrefix ( string id ) : string
Set ( string id, string label, object value ) : void

Method Details

Get() protected méthode

protected Get ( string id, string label ) : object
id string
label string
Résultat object

GetInfoObject() public méthode

public GetInfoObject ( string id, Object defaultValue ) : Object
id string
defaultValue Object
Résultat Object

GetPrefix() protected méthode

protected GetPrefix ( string id ) : string
id string
Résultat string

PersistWindowSettings() public méthode

public PersistWindowSettings ( string id, Form form ) : void
id string
form Form
Résultat void

PersistenceProvider() public méthode

create a PersistenceProvider which uses the XCore PropertyTable.
public PersistenceProvider ( PropertyTable propertyTable ) : System
propertyTable PropertyTable
Résultat System

PersistenceProvider() public méthode

create a PersistenceProvider which uses the XCore PropertyTable.
public PersistenceProvider ( string context, PropertyTable propertyTable ) : System
context string used to provide persistence and access to settings /// limited to a particular context. For example, if they control is used in /// three different places, we don't necessarily want to control to use the /// same settings each time. So each case would need its own context string.
propertyTable PropertyTable
Résultat System

RestoreWindowSettings() public méthode

public RestoreWindowSettings ( string id, Form form ) : void
id string
form Form
Résultat void

Set() protected méthode

protected Set ( string id, string label, object value ) : void
id string
label string
value object
Résultat void

SetInfoObject() public méthode

public SetInfoObject ( string id, Object info ) : void
id string
info Object
Résultat void

Property Details

m_contextString protected_oe property

protected string m_contextString
Résultat string

m_propertyTable protected_oe property

protected PropertyTable,XCore m_propertyTable
Résultat PropertyTable