C# Class YurtleTrack.Model.SettingsOriginator

Inheritance: ISettingsOriginator
Show file Open project: scottiemc7/YurtleTrack Class Usage Examples

Public Methods

Method Description
Get ( string name ) : ISetting
GetMemento ( ) : ISettingsMemento
RestoreFromMemento ( ISettingsMemento memento ) : void
Set ( ISetting setting ) : void
SettingsOriginator ( ) : System
SettingsOriginator ( ISettingsMemento memento ) : System

Private Methods

Method Description
DecryptFromBase64 ( string encryptedValue ) : string
EncryptAsBase64 ( string value ) : string

Method Details

Get() public method

public Get ( string name ) : ISetting
name string
return ISetting

GetMemento() public method

public GetMemento ( ) : ISettingsMemento
return ISettingsMemento

RestoreFromMemento() public method

public RestoreFromMemento ( ISettingsMemento memento ) : void
memento ISettingsMemento
return void

Set() public method

public Set ( ISetting setting ) : void
setting ISetting
return void

SettingsOriginator() public method

public SettingsOriginator ( ) : System
return System

SettingsOriginator() public method

public SettingsOriginator ( ISettingsMemento memento ) : System
memento ISettingsMemento
return System