Class FlowModelObject
Base class for flow model objects
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public abstract class FlowModelObject : object
Constructors
View SourceFlowModelObject()
Initializes a new instance of the FlowModelObject class.
Declaration
protected FlowModelObject()
FlowModelObject(JObject)
Initializes a new instance of the FlowModelObject class.
Declaration
protected FlowModelObject(JObject properties)
Parameters
Type | Name | Description |
---|---|---|
JObject | properties | The properties. |
Properties
View SourceBatchNumber
Gets or sets the batch number.
Declaration
public int BatchNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The batch number. |
Item[String]
Gets or sets the specified property.
Declaration
public string this[string property] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | property | The property. |
Property Value
Type | Description |
---|---|
System.String | The property value. |
Properties
Gets the properties.
Declaration
public IPropertyContainer Properties { get; }
Property Value
Type | Description |
---|---|
IPropertyContainer | The properties. |
PropertiesContent
Gets or sets the content of the work item.
Declaration
public byte[] PropertiesContent { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The content of the work item. |
Remarks
This is not (and should not be) a [DataMember], and will therefore not be serialized to JSON, because when serialized as JSON, the properties are transferred by serializing DNVGL.One.Compute.Core.FlowModel.FlowModelObject.properties. This member is used to support using this class as an entity when storing to tables.
Methods
View SourceUpdateProperties(String)
Updates the properties.
Declaration
protected void UpdateProperties(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | The json. |