C# 클래스 XCore.PersistenceProvider

A PersistenceProvider which uses the XCore PropertyTable
상속: IPersistenceProvider
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_contextString string
m_propertyTable PropertyTable

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Get ( string id, string label ) : object
GetPrefix ( string id ) : string
Set ( string id, string label, object value ) : void

메소드 상세

Get() 보호된 메소드

protected Get ( string id, string label ) : object
id string
label string
리턴 object

GetInfoObject() 공개 메소드

public GetInfoObject ( string id, Object defaultValue ) : Object
id string
defaultValue Object
리턴 Object

GetPrefix() 보호된 메소드

protected GetPrefix ( string id ) : string
id string
리턴 string

PersistWindowSettings() 공개 메소드

public PersistWindowSettings ( string id, Form form ) : void
id string
form Form
리턴 void

PersistenceProvider() 공개 메소드

create a PersistenceProvider which uses the XCore PropertyTable.
public PersistenceProvider ( PropertyTable propertyTable ) : System
propertyTable PropertyTable
리턴 System

PersistenceProvider() 공개 메소드

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
리턴 System

RestoreWindowSettings() 공개 메소드

public RestoreWindowSettings ( string id, Form form ) : void
id string
form Form
리턴 void

Set() 보호된 메소드

protected Set ( string id, string label, object value ) : void
id string
label string
value object
리턴 void

SetInfoObject() 공개 메소드

public SetInfoObject ( string id, Object info ) : void
id string
info Object
리턴 void

프로퍼티 상세

m_contextString 보호되어 있는 프로퍼티

protected string m_contextString
리턴 string

m_propertyTable 보호되어 있는 프로퍼티

protected PropertyTable,XCore m_propertyTable
리턴 PropertyTable