C# Class Dev2.Settings.SettingsViewModel

Inheritance: Dev2.Studio.ViewModels.WorkSurface.BaseWorkSurfaceViewModel, IStudioTab
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
DoDeactivate ( ) : bool
SettingsViewModel ( ) : System
SettingsViewModel ( IEventAggregator eventPublisher, IPopupController popupController, IAsyncWorker asyncWorker, IWin32Window parentWindow, IConnectControlViewModel connectControlViewModel ) : System

Protected Methods

Method Description
ClearErrors ( ) : void
CreateLoggingViewModel ( ) : LogSettingsViewModel
CreateSecurityViewModel ( ) : SecurityViewModel
ShowError ( string header, string description ) : void

Private Methods

Method Description
AddPropertyChangedHandlers ( ) : void
GetSaveResult ( ) : MessageBoxResult
LoadSettings ( ) : void
OnIsDirtyPropertyChanged ( object sender, EventArgs eventArgs ) : void
OnSelectionChanged ( [ propertyName = null ) : void
OnServerChanged ( object obj ) : void
ReadSettings ( ) : Data.Settings.Settings
ResetIsDirtyForChildren ( ) : void
SaveSettings ( ) : bool

Saves the settings.

WriteSettings ( ) : bool

Method Details

ClearErrors() protected method

protected ClearErrors ( ) : void
return void

CreateLoggingViewModel() protected method

protected CreateLoggingViewModel ( ) : LogSettingsViewModel
return Dev2.Settings.Logging.LogSettingsViewModel

CreateSecurityViewModel() protected method

protected CreateSecurityViewModel ( ) : SecurityViewModel
return Dev2.Settings.Security.SecurityViewModel

DoDeactivate() public method

public DoDeactivate ( ) : bool
return bool

SettingsViewModel() public method

public SettingsViewModel ( ) : System
return System

SettingsViewModel() public method

public SettingsViewModel ( IEventAggregator eventPublisher, IPopupController popupController, IAsyncWorker asyncWorker, IWin32Window parentWindow, IConnectControlViewModel connectControlViewModel ) : System
eventPublisher IEventAggregator
popupController IPopupController
asyncWorker IAsyncWorker
parentWindow IWin32Window
connectControlViewModel IConnectControlViewModel
return System

ShowError() protected method

protected ShowError ( string header, string description ) : void
header string
description string
return void