Class WorkflowCheckResult
A unit workflow check result.
[DataContract]
public class WorkflowCheckResult : IExtensibleDataObject
- Inheritance
-
WorkflowCheckResult
- Implements
- Inherited Members
Constructors
WorkflowCheckResult(Unit, IEnumerable<WorkflowError>)
Initializes a new instance of the WorkflowCheckResult class.
public WorkflowCheckResult(Unit unit, IEnumerable<WorkflowError> workflowErrors)
Parameters
unit
UnitThe unit.
workflowErrors
IEnumerable<WorkflowError>The unit workflow errors.
Properties
ExtensionData
Gets or sets the structure that contains extra data.
public virtual ExtensionDataObject ExtensionData { get; set; }
Property Value
Unit
Gets the unit, with only basic information set.
[DataMember]
public Unit Unit { get; }
Property Value
Remarks
Only the primitive properties will be initialized; navigation properties will not be set. For example, this allows the caller to verify that the unit model number is as expected.
WorkflowErrors
Gets the unit workflow errors as a collection of WorkflowError objects. If the collection is empty, then no problems were found.
[DataMember]
public IEnumerable<WorkflowError> WorkflowErrors { get; }