Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>

OptimaJet.Workflow.Plugins.CustomWorkflowProviders.WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>

public abstract class WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync> : WorkflowActionProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>, ICustomWorkflowActionProvider, IWorkflowActionProvider, IDisableProvider, ICustomDesignerParameterFormatProvider, IDesignerParameterFormatProvider where TEnumActions : struct where TEnumActionsAsync : struct where TEnumConditions : struct where TEnumConditionsAsync : struct

Inheritance

  • System.Object
  • OptimaJet.Workflow.Plugins.CustomWorkflowProviders.WorkflowActionProvider{{TEnumActions},{TEnumActionsAsync},{TEnumConditions},{TEnumConditionsAsync}}

Implemented Interfaces

Methods

protected string GetParameter<TParameter>(Dictionary<string, string> parameters, TParameter parameterName) where TParameter : struct #

Parameters

Name
Type
Description
parameters
Dictionary<String>
parameterName
{TParameter}

Returns

Type
Description
String
protected string GetParameterOrDefault<TParameter>(Dictionary<string, string> parameters, TParameter parameterName, string defaultValue, bool canBeNullOrEmpty = true) where TParameter : struct #

Parameters

Name
Type
Description
parameters
Dictionary<String>
parameterName
{TParameter}
defaultValue
String
canBeNullOrEmpty
Boolean

Returns

Type
Description
String
public virtual List<CodeActionParameterDefinition> GetFormat(CodeActionType type, string name, string schemeCode) #
Returns parameter definitions for a specified code action

Parameters

Name
Type
Description
type
CodeActionType
Code action type CodeActionType
name
String
Name of the code action
schemeCode
String
Code of the scheme

Returns

Type
Description
List<CodeActionParameterDefinition>

Fields

protected Dictionary<TEnumActions, Func<List<CodeActionParameterDefinition>>> ActionsFormats #
protected Dictionary<TEnumActionsAsync, Func<List<CodeActionParameterDefinition>>> ActionsAsyncFormats #
protected Dictionary<TEnumConditions, Func<List<CodeActionParameterDefinition>>> ConditionsFormats #
protected Dictionary<TEnumConditionsAsync, Func<List<CodeActionParameterDefinition>>> ConditionsAsyncFormats #