Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class ActivityDto

Simplified representation of ActivityDefinition. Use like data transfer object

Inheritance

↳ object

    ↳ ActivityDto

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Model.ApprovalMap

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class ActivityDto

Constructors

ActivityDto(ActivityDefinition, ProcessDefinition)

Declaration
public ActivityDto(ActivityDefinition activity, ProcessDefinition scheme)
Parameters
TypeNameDescription
ActivityDefinitionactivity
ProcessDefinitionscheme

Properties

Activity

Declaration
public string Activity { get; set; }
Property value
TypeDescription
string

State

Declaration
public string State { get; set; }
Property value
TypeDescription
string

IsCurrent

Declaration
public bool IsCurrent { get; set; }
Property value
TypeDescription
bool

IsFinal

Declaration
public bool IsFinal { get; set; }
Property value
TypeDescription
bool

IsInitial

Declaration
public bool IsInitial { get; set; }
Property value
TypeDescription
bool

SubprocessLevel

Declaration
public int? SubprocessLevel { get; set; }
Property value
TypeDescription
int?

LocalizedState

Declaration
public string LocalizedState { get; set; }
Property value
TypeDescription
string

Transitions

Declaration
public List<TransitionDto> Transitions { get; }
Property value
TypeDescription
List<TransitionDto>

Methods

AddIfNotExistsTo(Dictionary<string, ActivityDto>, ActivityDefinition?, ProcessDefinition, out ActivityDto)

Declaration
public static bool AddIfNotExistsTo(Dictionary<string, ActivityDto> result, ActivityDefinition? activity, ProcessDefinition scheme, out ActivityDto activityDto)
Parameters
TypeNameDescription
Dictionary<string, ActivityDto>result
ActivityDefinitionactivity
ProcessDefinitionscheme
ActivityDtoactivityDto
Returns
TypeDescription
bool

Extension Methods