Class DeploymentProvider
The class responsible for providing the deployment items and the commands that can be invoked on them.
Inherited Members
Namespace: Unity.Services.DeploymentApi .Editor
Assembly: Unity.Services.DeploymentApi.dll
Syntax
public abstract class DeploymentProvider
Constructors
DeploymentProvider()
Deployment provider default constructor.
Declaration
protected DeploymentProvider()
DeploymentProvider(ObservableCollection<IDeploymentItem>, ObservableCollection<Command>)
Deployment provider constructor.
Declaration
protected DeploymentProvider(ObservableCollection<IDeploymentItem> deploymentItems = null, ObservableCollection<Command> commands = null)
Parameters
Type | Name | Description |
---|---|---|
Observable |
deploymentItems | Deployment items to be contained in the deployment provider. |
Observable |
commands | Commands to be contained in the deployment provider. |
Properties
Commands
Collection of the commands applicable to the deployment item type.
Declaration
public ObservableCollection<Command> Commands { get; }
Property Value
Type | Description |
---|---|
Observable |
DeployCommand
Command that specifies the deployment process.
Declaration
public abstract Command DeployCommand { get; }
Property Value
Type | Description |
---|---|
Command |
DeploymentItems
Collection of the items belonging to the specified service available for deployment.
Declaration
public ObservableCollection<IDeploymentItem> DeploymentItems { get; }
Property Value
Type | Description |
---|---|
Observable |
OpenCommand
Command the specifies the double click behaviour on an item.
Declaration
public virtual Command OpenCommand { get; }
Property Value
Type | Description |
---|---|
Command |
Service
Represents the name of a service (CloudCode, RemoteConfig etc.).
Declaration
public abstract string Service { get; }
Property Value
Type | Description |
---|---|
string |
SyncItemsWithRemoteCommand
Command that triggers the syncing with remote behaviour on an item.
Declaration
public virtual Command SyncItemsWithRemoteCommand { get; }
Property Value
Type | Description |
---|---|
Command |
ValidateCommand
Command to trigger validation of items.
Declaration
public virtual Command ValidateCommand { get; }
Property Value
Type | Description |
---|---|
Command |