C# Class SleepHunter.Settings.UserSettingsManager

Mostra file Open project: ewrogers/SleepHunter4

Public Properties

Property Type Description
SettingsFile string

Public Methods

Method Description
LoadFromFile ( string filename ) : void
LoadFromStream ( Stream stream ) : void
SaveToFile ( string filename ) : void
SaveToStream ( Stream stream ) : void

Private Methods

Method Description
OnSettingChanged ( UserSettings settings, string propertyName ) : void
OnSettingChanging ( UserSettings settings, string propertyName ) : void
Settings_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
Settings_PropertyChanging ( object sender, PropertyChangingEventArgs e ) : void
UserSettingsManager ( ) : System

Method Details

LoadFromFile() public method

public LoadFromFile ( string filename ) : void
filename string
return void

LoadFromStream() public method

public LoadFromStream ( Stream stream ) : void
stream Stream
return void

SaveToFile() public method

public SaveToFile ( string filename ) : void
filename string
return void

SaveToStream() public method

public SaveToStream ( Stream stream ) : void
stream Stream
return void

Property Details

SettingsFile public_oe static_oe property

public static string SettingsFile
return string