Class CodeActionsInvoker
Provides invoke of code actions by name
Inheritance
↳ object
↳ CodeActionsInvoker
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.CodeActions
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic sealed class CodeActionsInvoker
Methods
AddCompilledType(Type)
Declarationpublic void AddCompilledType(Type compilledType)
Type | Name | Description |
---|---|---|
Type | compilledType |
InvokeCondition(string, ProcessInstance, WorkflowRuntime, string)
Declarationpublic bool InvokeCondition(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | parameter |
Type | Description |
---|---|
bool |
InvokeConditionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
Declarationpublic Task<bool> InvokeConditionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter, CancellationToken token)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | parameter | |
CancellationToken | token |
Type | Description |
---|---|
Task<bool> |
InvokeAction(string, ProcessInstance, WorkflowRuntime, string)
Declarationpublic void InvokeAction(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | parameter |
InvokeActionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
Declarationpublic Task InvokeActionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter, CancellationToken token)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | parameter | |
CancellationToken | token |
Type | Description |
---|---|
Task |
InvokeRuleGet(string, ProcessInstance, WorkflowRuntime, string)
Declarationpublic IEnumerable<string> InvokeRuleGet(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | parameter |
Type | Description |
---|---|
IEnumerable<string> |
InvokeRuleGetAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
Declarationpublic Task<IEnumerable<string>> InvokeRuleGetAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter, CancellationToken token)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | parameter | |
CancellationToken | token |
Type | Description |
---|---|
Task<IEnumerable<string>> |
InvokeRuleCheck(string, ProcessInstance, WorkflowRuntime, string, string)
Declarationpublic bool InvokeRuleCheck(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string parameter)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | identityId | |
string | parameter |
Type | Description |
---|---|
bool |
InvokeRuleCheckAsync(string, ProcessInstance, WorkflowRuntime, string, string, CancellationToken)
Declarationpublic Task<bool> InvokeRuleCheckAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string parameter, CancellationToken token)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | identityId | |
string | parameter | |
CancellationToken | token |
Type | Description |
---|---|
Task<bool> |
ExistsCondition(string)
Declarationpublic bool ExistsCondition(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
ExistsAction(string)
Declarationpublic bool ExistsAction(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
ExistsRuleGet(string)
Declarationpublic bool ExistsRuleGet(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
ExistsRuleCheck(string)
Declarationpublic bool ExistsRuleCheck(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
IsConditionAsync(string)
Declarationpublic bool IsConditionAsync(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
IsActionAsync(string)
Declarationpublic bool IsActionAsync(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
IsGetRuleAsync(string)
Declarationpublic bool IsGetRuleAsync(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |
IsCheckRuleAsync(string)
Declarationpublic bool IsCheckRuleAsync(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
bool |