Class DeploymentExpanderViewModel
Contains the view model logic for the deployment expander display pane.
Inheritance
Namespace: Phoenix.Applications.Deployment
Assembly: Phoenix.Plugin.AppDeployment.dll
Syntax
public class DeploymentExpanderViewModel : BindableBase
Constructors
View SourceDeploymentExpanderViewModel(DeploymentModel, DeploymentExpanderView)
Initializes a new instance of the DeploymentExpanderViewModel class.
Declaration
public DeploymentExpanderViewModel(DeploymentModel model, DeploymentExpanderView view)
Parameters
Type | Name | Description |
---|---|---|
DeploymentModel | model | The deployment model for the expander. |
DeploymentExpanderView | view | The view corresponding to this view model. |
Properties
View SourceCancelDeviceDeploymentCommand
Gets the command for canceling a specific device's deployment.
Declaration
public DelegateCommand<DeviceDeploymentModel> CancelDeviceDeploymentCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<DeviceDeploymentModel> |
ChangeDeviceSelectionCommand
Gets the command that changes the device selection for an existing deployment transaction.
Declaration
public DelegateCommand ChangeDeviceSelectionCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CloseExpanderCommand
Gets the command for closing this display pane.
Declaration
public DelegateCommand CloseExpanderCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
DeployCommand
Gets the command for running the deployment.
Declaration
public DelegateCommand DeployCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
DeploymentFactories
Gets all the registered deployment factories.
Declaration
public ReadOnlyCollection<DeploymentFactoryBase> DeploymentFactories { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<DeploymentFactoryBase> |
DeploymentFactory
Gets or sets the selected deployment factory.
Declaration
public DeploymentFactoryBase DeploymentFactory { get; set; }
Property Value
Type | Description |
---|---|
DeploymentFactoryBase |
DevicesExpanded
Gets or sets a value indicating whether or not the devices view is expanded.
Declaration
public bool DevicesExpanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SelectedDeployment
Gets the model representing the deployment information for this display pane.
Declaration
public DeploymentModel SelectedDeployment { get; }
Property Value
Type | Description |
---|---|
DeploymentModel |
ToggleExpandedDevicesCommand
Gets the command for expanding and collapsing the devices view.
Declaration
public DelegateCommand ToggleExpandedDevicesCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |