Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>

Inheritance

↳ object

    ↳ WorkflowActionProvider<<EnumActions>,<EnumActionsAsync>,<EnumConditions>,<EnumConditionsAsync>>

        ↳ WorkflowActionAndDesignerParameterFormatProvider<<EnumActions>,<EnumActionsAsync>,<EnumConditions>,<EnumConditionsAsync>>

            ↳ CustomMixProvider<<EnumActions>,<EnumActionsAsync>,<EnumConditions>,<EnumConditionsAsync>>

                ↳ WorkflowPlugin<<EnumActions>,<EnumActionsAsync>,<EnumConditions>,<EnumConditionsAsync>>

                    ↳ WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync>

                        ↳ BasicPlugin

Implements

ICustomMixProvider

ICustomWorkflowActionProvider

IWorkflowActionProvider

IDisableProvider

ICustomDesignerParameterFormatProvider

IDesignerParameterFormatProvider

ICustomActivityProvider

ICustomConditionProvider

IWorkflowPlugin

ICustomWorkflowRuleProvider

IWorkflowRuleProvider

Inherited Members

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Disabled

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.DefaultValues

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Name

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ShowSettingsParameters

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.PluginSettings

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.OnPluginAdd(WorkflowRuntime, List<string>)

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.OnRuntimeStartAsync(WorkflowRuntime)

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetParameterOrFromSettingsOrDefault<TParameter>(Dictionary<string, string>, TParameter, string, bool)

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.IfSettingNotSetOrShowSettingsParameters(Action, Enum)

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.SetSettingDefaultValue(Enum, string)

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.SettingValue(Enum, string)

WorkflowPlugin<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.SetSettingNewValue(Enum, string)

CustomMixProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync>.Disabled

CustomMixProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync>.GetCustomActivities()

CustomMixProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync>.GetCustomConditions()

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsFormats

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncFormats

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsFormats

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncFormats

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetParameter<TParameter>(Dictionary<string, string>, TParameter)

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetParameterOrDefault<TParameter>(Dictionary<string, string>, TParameter, string, bool)

WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetFormat(CodeActionType, string, string)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Disabled

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Actions

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsync

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.Conditions

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsync

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsDescriptions

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncDescriptions

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncTemplates

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsDescriptions

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncDescriptions

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncTemplates

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsExcludeRule

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionsAsyncExcludeRule

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsExcludeRule

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ConditionsAsyncExcludeRule

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExcludeAction(string, ExcludeRule)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExcludeCondition(string, ExcludeRule)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ActionParameter

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteAction(string, ProcessInstance, WorkflowRuntime, string)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteActionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteCondition(string, ProcessInstance, WorkflowRuntime, string)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ExecuteConditionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetActions(string, NamesSearchType)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetConditions(string, NamesSearchType)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.IsActionAsync(string, string)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetActionsAsync(NamesSearchType)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetActions(NamesSearchType)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetConditions(NamesSearchType)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.GetConditionsAsync(NamesSearchType)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.IsConditionAsync(string, string)

WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>.ToParameters(string)

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Plugins.CustomWorkflowProviders

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public abstract class WorkflowPluginWithRuleProvider<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync, EnumRules, EnumRulesAsync> : WorkflowPlugin<EnumActions, EnumActionsAsync, EnumConditions, EnumConditionsAsync>, ICustomMixProvider, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider, ICustomActivityProvider, ICustomConditionProvider, IWorkflowPlugin, ICustomWorkflowRuleProvider, IWorkflowRuleProvider where EnumActions : struct where EnumActionsAsync : struct where EnumConditions : struct where EnumConditionsAsync : struct where EnumRules : struct where EnumRulesAsync : struct

Properties

RulesExcludeRule

Declaration
protected Dictionary<EnumRules, ExcludeRule> RulesExcludeRule { get; }
Property value
TypeDescription
Dictionary<EnumRules, ExcludeRule>

RulesAsyncExcludeRule

Declaration
protected Dictionary<EnumRulesAsync, ExcludeRule> RulesAsyncExcludeRule { get; }
Property value
TypeDescription
Dictionary<EnumRulesAsync, ExcludeRule>

RulesCheck

Declaration
protected Dictionary<EnumRules, CheckDelegate> RulesCheck { get; }
Property value
TypeDescription
Dictionary<EnumRules, CheckDelegate>

RulesCheckAsync

Declaration
protected Dictionary<EnumRulesAsync, CheckAsyncDelegate> RulesCheckAsync { get; }
Property value
TypeDescription
Dictionary<EnumRulesAsync, CheckAsyncDelegate>

RulesGetIdentities

Declaration
protected Dictionary<EnumRules, GetIdentitiesDelegate> RulesGetIdentities { get; }
Property value
TypeDescription
Dictionary<EnumRules, GetIdentitiesDelegate>

RulesGetIdentitiesAsync

Declaration
protected Dictionary<EnumRulesAsync, GetIdentitiesAsyncDelegate> RulesGetIdentitiesAsync { get; }
Property value
TypeDescription
Dictionary<EnumRulesAsync, GetIdentitiesAsyncDelegate>

Methods

GetRules(NamesSearchType)

Declaration
protected virtual List<EnumRules> GetRules(NamesSearchType namesSearchType)
Parameters
TypeNameDescription
NamesSearchTypenamesSearchType
Returns
TypeDescription
List<EnumRules>

GetRulesAsync(NamesSearchType)

Declaration
protected virtual List<EnumRulesAsync> GetRulesAsync(NamesSearchType namesSearchType)
Parameters
TypeNameDescription
NamesSearchTypenamesSearchType
Returns
TypeDescription
List<EnumRulesAsync>

GetRules(string, NamesSearchType)

Declaration
public virtual List<string> GetRules(string schemeCode, NamesSearchType namesSearchType)
Parameters
TypeNameDescription
stringschemeCode
NamesSearchTypenamesSearchType
Returns
TypeDescription
List<string>

Check(ProcessInstance, WorkflowRuntime, string, string, string)

Declaration
public virtual bool Check(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
Returns
TypeDescription
bool

CheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)

Declaration
public virtual Task<bool> CheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

GetIdentities(ProcessInstance, WorkflowRuntime, string, string)

Declaration
public virtual IEnumerable<string> GetIdentities(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
Returns
TypeDescription
IEnumerable<string>

GetIdentitiesAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

Declaration
public virtual Task<IEnumerable<string>> GetIdentitiesAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<IEnumerable<string>>

IsCheckAsync(string, string)

Declaration
public virtual bool IsCheckAsync(string ruleName, string schemeCode)
Parameters
TypeNameDescription
stringruleName
stringschemeCode
Returns
TypeDescription
bool

IsGetIdentitiesAsync(string, string)

Declaration
public virtual bool IsGetIdentitiesAsync(string ruleName, string schemeCode)
Parameters
TypeNameDescription
stringruleName
stringschemeCode
Returns
TypeDescription
bool

ExcludeRule(string, ExcludeRule)

Declaration
public void ExcludeRule(string ruleName, ExcludeRule excludeRule = null)
Parameters
TypeNameDescription
stringruleName
ExcludeRuleexcludeRule

ValidateRules(out List<string>, bool)

Declaration
public bool ValidateRules(out List<string> rules, bool withExceptions = false)
Parameters
TypeNameDescription
List<string>rules
boolwithExceptions
Returns
TypeDescription
bool

ValidateRulesAsync(out List<string>, bool)

Declaration
public bool ValidateRulesAsync(out List<string> rulesAsync, bool withExceptions = false)
Parameters
TypeNameDescription
List<string>rulesAsync
boolwithExceptions
Returns
TypeDescription
bool

Extension Methods