Skip to main content

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

Class ProviderProviders<TEnumProviders>

Inheritance

↳ object

    ↳ ProviderProviders<TEnumProviders>

Implements

ICustomMixProvider

ICustomWorkflowActionProvider

IWorkflowActionProvider

IDisableProvider

ICustomDesignerParameterFormatProvider

IDesignerParameterFormatProvider

ICustomActivityProvider

ICustomConditionProvider

Inherited Members

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 ProviderProviders<TEnumProviders> : ICustomMixProvider, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider, ICustomActivityProvider, ICustomConditionProvider where TEnumProviders : struct

Properties

Disabled

Declaration
public bool Disabled { get; set; }
Property value
TypeDescription
bool

Methods

GetFormat(CodeActionType, string, string)

Declaration
public List<CodeActionParameterDefinition> GetFormat(CodeActionType type, string name, string schemeCode)
Parameters
TypeNameDescription
CodeActionTypetype
stringname
stringschemeCode
Returns
TypeDescription
List<CodeActionParameterDefinition>

ExcludeAction_(string, ExcludeRule)

Declaration
public void ExcludeAction_(string actionName, ExcludeRule excludeRule = null)
Parameters
TypeNameDescription
stringactionName
ExcludeRuleexcludeRule

ExcludeCondition_(string, ExcludeRule)

Declaration
public void ExcludeCondition_(string conditionName, ExcludeRule excludeRule = null)
Parameters
TypeNameDescription
stringconditionName
ExcludeRuleexcludeRule

ExcludeAction(string, ExcludeRule)

Declaration
public void ExcludeAction(string actionName, ExcludeRule excludeRule = null)
Parameters
TypeNameDescription
stringactionName
ExcludeRuleexcludeRule

ExcludeCondition(string, ExcludeRule)

Declaration
public void ExcludeCondition(string conditionName, ExcludeRule excludeRule = null)
Parameters
TypeNameDescription
stringconditionName
ExcludeRuleexcludeRule

ExecuteAction(string, ProcessInstance, WorkflowRuntime, string)

Declaration
public void ExecuteAction(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringactionParameter

ExecuteActionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

Declaration
public Task ExecuteActionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter, CancellationToken token)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringactionParameter
CancellationTokentoken
Returns
TypeDescription
Task

ExecuteCondition(string, ProcessInstance, WorkflowRuntime, string)

Declaration
public bool ExecuteCondition(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringactionParameter
Returns
TypeDescription
bool

ExecuteConditionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

Declaration
public Task<bool> ExecuteConditionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string actionParameter, CancellationToken token)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringactionParameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

GetActions(string, NamesSearchType)

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

GetConditions(string, NamesSearchType)

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

IsActionAsync(string, string)

Declaration
public bool IsActionAsync(string name, string schemeCode)
Parameters
TypeNameDescription
stringname
stringschemeCode
Returns
TypeDescription
bool

IsConditionAsync(string, string)

Declaration
public bool IsConditionAsync(string name, string schemeCode)
Parameters
TypeNameDescription
stringname
stringschemeCode
Returns
TypeDescription
bool

GetCustomActivities()

Declaration
public List<ActivityBase> GetCustomActivities()
Returns
TypeDescription
List<ActivityBase>

GetCustomConditions()

Declaration
public List<FormBase> GetCustomConditions()
Returns
TypeDescription
List<FormBase>

Fields

Providers

Declaration
protected Dictionary<TEnumProviders, ICustomMixProvider> Providers
Returns
TypeDescription
Dictionary<TEnumProviders, ICustomMixProvider>

Extension Methods