C# Class Open.TestHarness.Model.TestHarnessSettings

Provides client-side persistence functionality for storing settings.
Inheritance: NotifyPropertyChangedBase
Mostrar archivo Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Clears the settings from isloated storage.

RemoveRecentSelection ( ViewTestClass item, bool silent ) : void

Removes the specified item from the recent selections list.

Save ( ) : bool

Persists the current settings.

Save ( ) : void

Persists the current settings.

SyncLoadedModulesWithTestHarness ( ) : void

Syncs the set of saved loaded-module-names with the current set of modules.

SyncRecentSelection ( ) : void

Syncs the 'Recent Selections' list with the current TestHarness selected class.

Protected Methods

Method Description
OnCleared ( ) : void

Private Methods

Method Description
Remove ( string key ) : void
RemoveItem ( ViewTestClass item, ICollection collection ) : bool
SetRecentSelections ( ICollection value, bool silent ) : void
SetRecentSelections ( IEnumerable value ) : void
TestHarnessSettings ( TestHarnessModel testHarness ) : System
TestHarnessSettings ( TestHarnessModel testHarness ) : System.Linq

Method Details

Clear() public method

Clears the settings from isloated storage.
public Clear ( ) : void
return void

OnCleared() protected method

protected OnCleared ( ) : void
return void

RemoveRecentSelection() public method

Removes the specified item from the recent selections list.
public RemoveRecentSelection ( ViewTestClass item, bool silent ) : void
item ViewTestClass The item to remove.
silent bool Flag indicating if the corresponding property-change event should be fired.
return void

Save() public method

Persists the current settings.
public Save ( ) : bool
return bool

Save() public method

Persists the current settings.
public Save ( ) : void
return void

SyncLoadedModulesWithTestHarness() public method

Syncs the set of saved loaded-module-names with the current set of modules.
public SyncLoadedModulesWithTestHarness ( ) : void
return void

SyncRecentSelection() public method

Syncs the 'Recent Selections' list with the current TestHarness selected class.
public SyncRecentSelection ( ) : void
return void