Class ProviderProviders<TEnumProviders>
OptimaJet.Workflow.Plugins.CustomWorkflowProviders.ProviderProviders<TEnumProviders>
Namespace: OptimaJet.Workflow.Plugins.CustomWorkflowProviders
public abstract class ProviderProviders<TEnumProviders> : ICustomMixProvider, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider, ICustomActivityProvider, ICustomConditionProvider where TEnumProviders : structInheritance
- System.Object
Implemented Interfaces
- ICustomMixProvider
- ICustomWorkflowActionProvider
- IWorkflowActionProvider
- IDisableProvider
- ICustomDesignerParameterFormatProvider
- IDesignerParameterFormatProvider
- ICustomActivityProvider
- ICustomConditionProvider
Properties
Name
Type
Disabled #BooleanMethods
public List<CodeActionParameterDefinition> GetFormat(CodeActionType type, string name, string schemeCode) #Returns parameter definitions for a specified code action
Parameters
Name
Type
Description
nameStringName of the code action
schemeCodeStringCode of the scheme
Returns
Type
Description
List<CodeActionParameterDefinition>A list of CodeActionParameterDefinition
public void ExcludeAction_(string actionName, ExcludeRule excludeRule = null) #Parameters
Name
Type
Description
actionNameStringexcludeRuleExcludeRulepublic void ExcludeCondition_(string conditionName, ExcludeRule excludeRule = null) #Parameters
Name
Type
Description
conditionNameStringexcludeRuleExcludeRulepublic void ExcludeAction(string actionName, ExcludeRule excludeRule = null) #Parameters
Name
Type
Description
actionNameStringexcludeRuleExcludeRulepublic void ExcludeCondition(string conditionName, ExcludeRule excludeRule = null) #Parameters
Name
Type
Description
conditionNameStringexcludeRuleExcludeRulepublic void ExecuteAction(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter) #Execute action
Parameters
Name
Type
Description
nameStringName of the action to execute
processInstanceProcessInstanceReference to ProcessInstance from which action is executed ProcessInstance
runtimeWorkflowRuntimeReference to WorkflowRuntime object which managed specified process instance WorkflowRuntime
public Task ExecuteActionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter, CancellationToken token) #Execute action asynchronously
Parameters
Name
Type
Description
nameStringName of the action to execute
processInstanceProcessInstanceReference to ProcessInstance from which action is executed ProcessInstance
runtimeWorkflowRuntimeReference to WorkflowRuntime object which managed specified process instance WorkflowRuntime
tokenCancellationTokenCancellation token
Returns
Type
Description
Taskpublic bool ExecuteCondition(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter) #Check condition
Parameters
Name
Type
Description
nameStringName of the condition to check
processInstanceProcessInstanceReference to ProcessInstance from which condition is checked ProcessInstance
runtimeWorkflowRuntimeReference to WorkflowRuntime object which managed specified process instance WorkflowRuntime
Returns
Type
Description
BooleanCondition result
public Task<bool> ExecuteConditionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter, CancellationToken token) #Check condition asynchronously
Parameters
Name
Type
Description
nameStringName of the condition to check
processInstanceProcessInstanceReference to ProcessInstance from which condition is checked ProcessInstance
runtimeWorkflowRuntimeReference to WorkflowRuntime object which managed specified process instance WorkflowRuntime
tokenCancellationTokenCancellation token
Returns
Type
Description
Task<Boolean>Condition result
public List<string> GetActions(string schemeCode, NamesSearchType namesSearchType) #Return all user actions names
Parameters
Name
Type
Description
schemeCodeStringScheme code
namesSearchTypeNamesSearchTypeReturns
Type
Description
List<String>List of actions names
public List<string> GetConditions(string schemeCode, NamesSearchType namesSearchType) #Return all user conditions names
Parameters
Name
Type
Description
schemeCodeStringScheme code
namesSearchTypeNamesSearchTypeReturns
Type
Description
List<String>List of conditions names
public bool IsActionAsync(string name, string schemeCode) #Checks whether the action should be called asynchronously
Parameters
Name
Type
Description
nameStringName of the action
schemeCodeStringScheme code
Returns
Type
Description
Booleanpublic bool IsConditionAsync(string name, string schemeCode) #Checks whether the condition should be called asynchronously
Parameters
Name
Type
Description
nameStringName of the condition
schemeCodeStringScheme code
Returns
Type
Description
Booleanpublic List<ActivityBase> GetCustomActivities() #Returns custom activities
Returns
Type
Description
List<ActivityBase>public List<FormBase> GetCustomConditions() #Returns
Type
Description
List<FormBase>Fields
protected Dictionary<TEnumProviders, ICustomMixProvider> Providers #