C# 클래스 ApexLumia.SettingsItems

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: ApexHAB/apex-lumia

공개 메소드들

메소드 설명
Load ( ) : void

Gets the saved value from IsolatedStorage, or, if not available, sets the default value.

Save ( ) : void

Save the current value to IsolatedStorage, or if it doesn't exist yet, add it and save it.

SettingsItems ( string id, string name, object defaultvalue ) : System

Constructor: Grabs saved settings from Isolated Storage and loads the value of this new setting.

setDefault ( ) : void

Set the current value to the default and save to IsolatedStorage.

비공개 메소드들

메소드 설명
OnPropertyChanged ( string propertyName ) : void

메소드 상세

Load() 공개 메소드

Gets the saved value from IsolatedStorage, or, if not available, sets the default value.
public Load ( ) : void
리턴 void

Save() 공개 메소드

Save the current value to IsolatedStorage, or if it doesn't exist yet, add it and save it.
public Save ( ) : void
리턴 void

SettingsItems() 공개 메소드

Constructor: Grabs saved settings from Isolated Storage and loads the value of this new setting.
public SettingsItems ( string id, string name, object defaultvalue ) : System
id string Used as the key for saving the setting value in IsolatedStorage.
name string Readable name for display on the settings page
defaultvalue object The default value for the setting.
리턴 System

setDefault() 공개 메소드

Set the current value to the default and save to IsolatedStorage.
public setDefault ( ) : void
리턴 void