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
Syntaxpublic class ActivityDto
Constructors
ActivityDto(ActivityDefinition, ProcessDefinition)
Declarationpublic ActivityDto(ActivityDefinition activity, ProcessDefinition scheme)
Type | Name | Description |
---|---|---|
ActivityDefinition | activity | |
ProcessDefinition | scheme |
Properties
Activity
Declarationpublic string Activity { get; set; }
Type | Description |
---|---|
string |
State
Declarationpublic string State { get; set; }
Type | Description |
---|---|
string |
IsCurrent
Declarationpublic bool IsCurrent { get; set; }
Type | Description |
---|---|
bool |
IsFinal
Declarationpublic bool IsFinal { get; set; }
Type | Description |
---|---|
bool |
IsInitial
Declarationpublic bool IsInitial { get; set; }
Type | Description |
---|---|
bool |
SubprocessLevel
Declarationpublic int? SubprocessLevel { get; set; }
Type | Description |
---|---|
int? |
LocalizedState
Declarationpublic string LocalizedState { get; set; }
Type | Description |
---|---|
string |
Transitions
Declarationpublic List<TransitionDto> Transitions { get; }
Type | Description |
---|---|
List<TransitionDto> |
Methods
AddIfNotExistsTo(Dictionary<string, ActivityDto>, ActivityDefinition?, ProcessDefinition, out ActivityDto)
Declarationpublic static bool AddIfNotExistsTo(Dictionary<string, ActivityDto> result, ActivityDefinition? activity, ProcessDefinition scheme, out ActivityDto activityDto)
Type | Name | Description |
---|---|---|
Dictionary<string, ActivityDto> | result | |
ActivityDefinition | activity | |
ProcessDefinition | scheme | |
ActivityDto | activityDto |
Type | Description |
---|---|
bool |