Class Loop
Inheritance
↳ object
↳ Loop
↳ LoopFor<TStartEndValues, TStep>
↳ LoopForeach
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Plugins.LoopsPlugin
Assembly: OptimaJet.Workflow.Core.dll
Syntax[JsonConverter(typeof(LoopTypeConverter))]
public abstract class Loop
Properties
LoopType
Declarationpublic abstract string LoopType { get; }
Type | Description |
---|---|
string |
Methods
ConditionValid(LoopCounter)
Declarationprotected abstract bool ConditionValid(LoopCounter counter)
Type | Name | Description |
---|---|---|
LoopCounter | counter |
Type | Description |
---|---|
bool |
InitAsync(ProcessInstance)
Declarationpublic abstract Task InitAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task |
DoStep(LoopCounter, StepsType)
Declarationprotected abstract LoopCounter DoStep(LoopCounter counter, StepsType stepType)
Type | Name | Description |
---|---|---|
LoopCounter | counter | |
StepsType | stepType |
Type | Description |
---|---|
LoopCounter |
GetLoopAsync(ProcessInstance, string)
Declarationpublic static Task<Loop> GetLoopAsync(ProcessInstance processInstance, string loopName)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
string | loopName |
Type | Description |
---|---|
Task<Loop> |
SetStateAsync(ProcessInstance, LoopState)
Declarationpublic Task SetStateAsync(ProcessInstance processInstance, LoopState loopState)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
LoopState | loopState |
Type | Description |
---|---|
Task |
GetStateAsync(ProcessInstance)
Declarationpublic Task<LoopState> GetStateAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<LoopState> |
GetCounterAsync(ProcessInstance)
Declarationprotected Task<LoopCounter> GetCounterAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<LoopCounter> |
SetCounterAsync(ProcessInstance, LoopCounter)
Declarationprotected Task SetCounterAsync(ProcessInstance processInstance, LoopCounter counter)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
LoopCounter | counter |
Type | Description |
---|---|
Task |
GetPrevCounterValueAsync(ProcessInstance)
Declarationpublic Task<LoopCounter> GetPrevCounterValueAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<LoopCounter> |
GetCurrentCounterValueAsync(ProcessInstance)
Declarationpublic Task<LoopCounter> GetCurrentCounterValueAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<LoopCounter> |
GetNextCounterValueAsync(ProcessInstance)
Declarationpublic Task<LoopCounter> GetNextCounterValueAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<LoopCounter> |
IsCompletedAsync(ProcessInstance)
Declarationpublic Task<bool> IsCompletedAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<bool> |
DoStepAsyncAsync(ProcessInstance)
Declarationpublic Task DoStepAsyncAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task |
ContinueAsync(ProcessInstance)
Declarationpublic Task ContinueAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task |
BreakAsync(ProcessInstance)
Declarationpublic Task BreakAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task |
CompleteAsync(ProcessInstance)
Declarationpublic Task CompleteAsync(ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance |
Type | Description |
---|---|
Task |
Fields
Name
Declarationpublic string Name
Type | Description |
---|---|
string |
StateParameterName
Declarationpublic string StateParameterName
Type | Description |
---|---|
string |
CounterValueParameterName
Declarationpublic string CounterValueParameterName
Type | Description |
---|---|
string |
StepType
Declarationpublic StepsType StepType
Type | Description |
---|---|
StepsType |
IncludeLastValue
Declarationpublic bool IncludeLastValue
Type | Description |
---|---|
bool |