Show / Hide Table of Contents

Class DeploymentModel

Models the applications that must be deployed for a job.

Inheritance
object
DeploymentModel
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class DeploymentModel

Properties

View Source

Applications

Gets or sets the applications.

Declaration
[DataMember]
public List<ApplicationReference> Applications { get; set; }
Property Value
Type Description
List<ApplicationReference>

The applications.

Methods

View Source

AddApplicationPackage(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.

View Source

GetApplications<T>()

Gets the applications.

Declaration
public IEnumerable<T> GetApplications<T>() where T : ApplicationReference
Returns
Type Description
IEnumerable<T>

The application references of type T.

Type Parameters
Name Description
T

Application reference type.

  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.