C# Class Mckineap.ViewModels.Windows.PreferencesWindowViewModel

Inheritance: Mckineap.Utilities.ObservableObject
显示文件 Open project: loic-lavergne/mckineap

Public Methods

Method Description
CancelPreferences ( object parameter ) : void

Closes the preferences window.

PreferencesWindowViewModel ( ) : Mckineap.Models.Context

PreferencesWindowViewModel constructor Constructs a new PreferencesWindowViewModel object by initializing the current preferences

SavePreferences ( object parameter ) : void

Saves the preferences into the current Session.
Closes the preferences window once saved.

Private Methods

Method Description
SaveSettings ( Preferences preferences ) : void

Method Details

CancelPreferences() public method

Closes the preferences window.
public CancelPreferences ( object parameter ) : void
parameter object The preferences window to close.
return void

PreferencesWindowViewModel() public method

PreferencesWindowViewModel constructor Constructs a new PreferencesWindowViewModel object by initializing the current preferences
public PreferencesWindowViewModel ( ) : Mckineap.Models.Context
return Mckineap.Models.Context

SavePreferences() public method

Saves the preferences into the current Session.
Closes the preferences window once saved.
public SavePreferences ( object parameter ) : void
parameter object The preferences window to close.
return void