Class DeploymentViewModel
View model for device management.
Inheritance
Inherited Members
Namespace: Phoenix.Applications.Deployment
Assembly: Phoenix.Plugin.AppDeployment.dll
Syntax
public class DeploymentViewModel : TabItemViewModel<DeploymentView>, IViewInitialize, IDeploymentViewProvider, IViewProvider, IClosingNotification
Constructors
View SourceDeploymentViewModel(DeploymentView, IWindowingControl, IEventAggregator, IPhoenixLogger)
Initializes a new instance of the DeploymentViewModel class.
Declaration
public DeploymentViewModel(DeploymentView view, IWindowingControl windowing, IEventAggregator eventAggregator, IPhoenixLogger logger)
Parameters
Type | Name | Description |
---|---|---|
DeploymentView | view | The view this view model is driving. |
IWindowingControl | windowing | |
IEventAggregator | eventAggregator | The event aggregator for the application. |
IPhoenixLogger | logger | The logger for the application. |
Fields
View SourceName
The tab header name.
Declaration
public const string Name = "Deployment"
Field Value
Type | Description |
---|---|
System.String |
Properties
View SourceAddNewDeploymentCommand
Gets the command for the adding a new deployment.
Declaration
public DelegateCommand AddNewDeploymentCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
AddNewUninstallCommand
Gets the command for the adding a new uninstall.
Declaration
public DelegateCommand AddNewUninstallCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CloneDeploymentCommand
Gets the command for removing a specific deployment.
Declaration
public DelegateCommand<DeploymentModel> CloneDeploymentCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<DeploymentModel> |
CloneUninstallCommand
Gets the command for removing a specific uninstall.
Declaration
public DelegateCommand<UninstallModel> CloneUninstallCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<UninstallModel> |
Deployments
Gets a collection of the deployments created.
Declaration
public ObservableCollection<DeploymentModel> Deployments { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DeploymentModel> |
OpenDeploymentExpanderCommand
Gets the command for opening the expander for a specific deployment.
Declaration
public DelegateCommand<DeploymentModel> OpenDeploymentExpanderCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<DeploymentModel> |
OpenUninstallExpanderCommand
Gets the command for opening the expander for a specific uninstall.
Declaration
public DelegateCommand<UninstallModel> OpenUninstallExpanderCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<UninstallModel> |
RemoveDeploymentCommand
Gets the command for removing a specific deployment.
Declaration
public DelegateCommand<DeploymentModel> RemoveDeploymentCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<DeploymentModel> |
RemoveUninstallCommand
Gets the command for removing a specific uninstall.
Declaration
public DelegateCommand<UninstallModel> RemoveUninstallCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<UninstallModel> |
SelectedExpanderView
Gets or sets the selected expander view.
Declaration
public IExpanderView SelectedExpanderView { get; set; }
Property Value
Type | Description |
---|---|
IExpanderView |
Uninstalls
Gets a collection of the uninstalls created.
Declaration
public ObservableCollection<UninstallModel> Uninstalls { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<UninstallModel> |