Class WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
Inheritance
↳ object
↳ WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
↳ WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
Implements
ICustomWorkflowActionProvider
IWorkflowActionProvider
IDisableProvider
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Plugins.CustomWorkflowProviders
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic abstract class WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync> : ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider where TEnumActions : struct where TEnumActionsAsync : struct where TEnumConditions : struct where TEnumConditionsAsync : struct
Constructors
WorkflowActionProvider()
Declarationpublic WorkflowActionProvider()
Properties
Disabled
Declarationpublic abstract bool Disabled { get; set; }
Type | Description |
---|---|
bool |
Actions
Declarationprotected Dictionary<TEnumActions, ActionDelegate> Actions { get; }
Type | Description |
---|---|
Dictionary<TEnumActions, ActionDelegate> |
ActionsAsync
Declarationprotected Dictionary<TEnumActionsAsync, ActionAsyncDelegate> ActionsAsync { get; }
Type | Description |
---|---|
Dictionary<TEnumActionsAsync, ActionAsyncDelegate> |
Conditions
Declarationprotected Dictionary<TEnumConditions, ConditionDelegate> Conditions { get; }
Type | Description |
---|---|
Dictionary<TEnumConditions, ConditionDelegate> |
ConditionsAsync
Declarationprotected Dictionary<TEnumConditionsAsync, ConditionAsyncDelegate> ConditionsAsync { get; }
Type | Description |
---|---|
Dictionary<TEnumConditionsAsync, ConditionAsyncDelegate> |
ActionsDescriptions
Declarationprotected Dictionary<TEnumActions, string> ActionsDescriptions { get; }
Type | Description |
---|---|
Dictionary<TEnumActions, string> |
ActionsAsyncDescriptions
Declarationprotected Dictionary<TEnumActionsAsync, string> ActionsAsyncDescriptions { get; }
Type | Description |
---|---|
Dictionary<TEnumActionsAsync, string> |
ActionsAsyncTemplates
Declarationprotected Dictionary<TEnumActionsAsync, string> ActionsAsyncTemplates { get; }
Type | Description |
---|---|
Dictionary<TEnumActionsAsync, string> |
ConditionsDescriptions
Declarationprotected Dictionary<TEnumConditions, string> ConditionsDescriptions { get; }
Type | Description |
---|---|
Dictionary<TEnumConditions, string> |
ConditionsAsyncDescriptions
Declarationprotected Dictionary<TEnumConditionsAsync, string> ConditionsAsyncDescriptions { get; }
Type | Description |
---|---|
Dictionary<TEnumConditionsAsync, string> |
ConditionsAsyncTemplates
Declarationprotected Dictionary<TEnumConditionsAsync, string> ConditionsAsyncTemplates { get; }
Type | Description |
---|---|
Dictionary<TEnumConditionsAsync, string> |
ActionsExcludeRule
Declarationprotected Dictionary<TEnumActions, ExcludeRule> ActionsExcludeRule { get; }
Type | Description |
---|---|
Dictionary<TEnumActions, ExcludeRule> |
ActionsAsyncExcludeRule
Declarationprotected Dictionary<TEnumActionsAsync, ExcludeRule> ActionsAsyncExcludeRule { get; }
Type | Description |
---|---|
Dictionary<TEnumActionsAsync, ExcludeRule> |
ConditionsExcludeRule
Declarationprotected Dictionary<TEnumConditions, ExcludeRule> ConditionsExcludeRule { get; }
Type | Description |
---|---|
Dictionary<TEnumConditions, ExcludeRule> |
ConditionsAsyncExcludeRule
Declarationprotected Dictionary<TEnumConditionsAsync, ExcludeRule> ConditionsAsyncExcludeRule { get; }
Type | Description |
---|---|
Dictionary<TEnumConditionsAsync, ExcludeRule> |
ActionParameter
Declarationprotected string ActionParameter { get; set; }
Type | Description |
---|---|
string |
Methods
ExcludeAction(string, ExcludeRule)
Declarationpublic void ExcludeAction(string actionName, ExcludeRule excludeRule = null)
Type | Name | Description |
---|---|---|
string | actionName | |
ExcludeRule | excludeRule |
ExcludeCondition(string, ExcludeRule)
Declarationpublic void ExcludeCondition(string conditionName, ExcludeRule excludeRule = null)
Type | Name | Description |
---|---|---|
string | conditionName | |
ExcludeRule | excludeRule |
ExecuteAction(string, ProcessInstance, WorkflowRuntime, string)
Declarationpublic virtual void ExecuteAction(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | actionParameter |
ExecuteActionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
Declarationpublic virtual Task ExecuteActionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter, CancellationToken token)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | actionParameter | |
CancellationToken | token |
Type | Description |
---|---|
Task |
ExecuteCondition(string, ProcessInstance, WorkflowRuntime, string)
Declarationpublic virtual bool ExecuteCondition(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | actionParameter |
Type | Description |
---|---|
bool |
ExecuteConditionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)
Declarationpublic virtual Task<bool> ExecuteConditionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter, CancellationToken token)
Type | Name | Description |
---|---|---|
string | name | |
ProcessInstance | processInstance | |
WorkflowRuntime | runtime | |
string | actionParameter | |
CancellationToken | token |
Type | Description |
---|---|
Task<bool> |
GetActions(string, NamesSearchType)
Declarationpublic virtual List<string> GetActions(string schemeCode, NamesSearchType namesSearchType)
Type | Name | Description |
---|---|---|
string | schemeCode | |
NamesSearchType | namesSearchType |
Type | Description |
---|---|
List<string> |
GetConditions(string, NamesSearchType)
Declarationpublic virtual List<string> GetConditions(string schemeCode, NamesSearchType namesSearchType)
Type | Name | Description |
---|---|---|
string | schemeCode | |
NamesSearchType | namesSearchType |
Type | Description |
---|---|
List<string> |
IsActionAsync(string, string)
Declarationpublic virtual bool IsActionAsync(string name, string schemeCode)
Type | Name | Description |
---|---|---|
string | name | |
string | schemeCode |
Type | Description |
---|---|
bool |
GetActionsAsync(NamesSearchType)
Declarationprotected List<TEnumActionsAsync> GetActionsAsync(NamesSearchType namesSearchType)
Type | Name | Description |
---|---|---|
NamesSearchType | namesSearchType |
Type | Description |
---|---|
List<TEnumActionsAsync> |
GetActions(NamesSearchType)
Declarationprotected List<TEnumActions> GetActions(NamesSearchType namesSearchType)
Type | Name | Description |
---|---|---|
NamesSearchType | namesSearchType |
Type | Description |
---|---|
List<TEnumActions> |
GetConditions(NamesSearchType)
Declarationprotected List<TEnumConditions> GetConditions(NamesSearchType namesSearchType)
Type | Name | Description |
---|---|---|
NamesSearchType | namesSearchType |
Type | Description |
---|---|
List<TEnumConditions> |
GetConditionsAsync(NamesSearchType)
Declarationprotected List<TEnumConditionsAsync> GetConditionsAsync(NamesSearchType namesSearchType)
Type | Name | Description |
---|---|---|
NamesSearchType | namesSearchType |
Type | Description |
---|---|
List<TEnumConditionsAsync> |
IsConditionAsync(string, string)
Declarationpublic virtual bool IsConditionAsync(string name, string schemeCode)
Type | Name | Description |
---|---|---|
string | name | |
string | schemeCode |
Type | Description |
---|---|
bool |
ToParameters(string)
Declarationprotected virtual Dictionary<string, string> ToParameters(string actionParameter)
Type | Name | Description |
---|---|---|
string | actionParameter |
Type | Description |
---|---|
Dictionary<string, string> |