Class DeploymentModel
Models the applications that must be deployed for a job
Inheritance
System.Object
DeploymentModel
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class DeploymentModel : object
Properties
View SourceApplications
Gets or sets the applications.
Declaration
public List<ApplicationReference> Applications { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ApplicationReference> | The applications. |
Methods
View SourceAddApplicationPackage(String, String)
Adds the application package.
Declaration
public void AddApplicationPackage(string packageId, string version = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | packageId | The package identifier. |
| System.String | version | The version, default version if null. |
GetApplications<T>()
Gets the applications.
Declaration
public IEnumerable<T> GetApplications<T>()
where T : ApplicationReference
Returns
| Type | Description |
|---|---|
| IEnumerable<T> | The application references of type |
Type Parameters
| Name | Description |
|---|---|
| T | Application reference type |