Class DeploymentModel
Models the applications that must be deployed for a job.
Inherited Members
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class DeploymentModel
Properties
View SourceApplications
Gets or sets the applications.
Declaration
[DataMember]
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 |
---|---|---|
string | packageId | The package identifier. |
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. |