C# Class Dev2.CustomControls.Connections.ConnectControlViewModel

Inheritance: INotifyPropertyChanged, IConnectControlViewModel
显示文件 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
AddNewServer ( int &newServerIndex, Action openDialog ) : bool
ConnectControlViewModel ( Action callbackHandler, string labelText, bool bindToActiveEnvironment ) : System
ConnectControlViewModel ( IMainViewModel mainViewModel, Action callbackHandler, string labelText, bool bindToActiveEnvironment ) : System
ConnectedServerChanged ( object sender, ConnectedServerChangedEvent e ) : void
ConnectedStatusChanged ( object sender, ConnectionStatusChangedEventArg e ) : void
OpenConnectionWizard ( int selectedIndex ) : void
SetTargetEnvironment ( ) : void
UpdateActiveEnvironment ( IEnvironmentModel environmentModel, bool isSetFromConnectControl ) : void

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Private Methods

Method Description
ActionForNewRemoteServer ( IEnvironmentModel &newServer, Action openDialog ) : bool
AddToServersCollection ( IEnvironmentModel server ) : void
ConnectControlViewModel ( IMainViewModel mainViewModel, IEnvironmentRepository environmentRepository, Action callbackHandler, IConnectControlSingleton connectControlSingleton, string labelText, bool bindToActiveEnvironment, Action openWizard = null ) : System
Get ( int selectedIndex ) : IEnvironmentModel
GetNewlyAddedServer ( IEnvironmentModel &environment ) : bool
SetSelectedEnvironment ( ) : void

Method Details

AddNewServer() public method

public AddNewServer ( int &newServerIndex, Action openDialog ) : bool
newServerIndex int
openDialog Action
return bool

ConnectControlViewModel() public method

public ConnectControlViewModel ( Action callbackHandler, string labelText, bool bindToActiveEnvironment ) : System
callbackHandler Action
labelText string
bindToActiveEnvironment bool
return System

ConnectControlViewModel() public method

public ConnectControlViewModel ( IMainViewModel mainViewModel, Action callbackHandler, string labelText, bool bindToActiveEnvironment ) : System
mainViewModel IMainViewModel
callbackHandler Action
labelText string
bindToActiveEnvironment bool
return System

ConnectedServerChanged() public method

public ConnectedServerChanged ( object sender, ConnectedServerChangedEvent e ) : void
sender object
e Dev2.ConnectionHelpers.ConnectedServerChangedEvent
return void

ConnectedStatusChanged() public method

public ConnectedStatusChanged ( object sender, ConnectionStatusChangedEventArg e ) : void
sender object
e Dev2.ConnectionHelpers.ConnectionStatusChangedEventArg
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

OpenConnectionWizard() public method

public OpenConnectionWizard ( int selectedIndex ) : void
selectedIndex int
return void

SetTargetEnvironment() public method

public SetTargetEnvironment ( ) : void
return void

UpdateActiveEnvironment() public method

public UpdateActiveEnvironment ( IEnvironmentModel environmentModel, bool isSetFromConnectControl ) : void
environmentModel IEnvironmentModel
isSetFromConnectControl bool
return void