Class WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
OptimaJet.Workflow.Plugins.CustomWorkflowProviders.WorkflowActionAndDesignerParameterFormatProvider<TEnumActions, TEnumActionsAsync, TEnumConditions, TEnumConditionsAsync>
Namespace: OptimaJet.Workflow.Plugins.CustomWorkflowProviders
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 : structInheritance
- System.Object
- OptimaJet.Workflow.Plugins.CustomWorkflowProviders.WorkflowActionProvider{{TEnumActions},{TEnumActionsAsync},{TEnumConditions},{TEnumConditionsAsync}}
Implemented Interfaces
- ICustomWorkflowActionProvider
- IWorkflowActionProvider
- IDisableProvider
- ICustomDesignerParameterFormatProvider
- IDesignerParameterFormatProvider
Methods
protected string GetParameter<TParameter>(Dictionary<string, string> parameters, TParameter parameterName) where TParameter : struct #Parameters
Name
Type
Description
parametersDictionary<String>parameterName{TParameter}Returns
Type
Description
Stringprotected string GetParameterOrDefault<TParameter>(Dictionary<string, string> parameters, TParameter parameterName, string defaultValue, bool canBeNullOrEmpty = true) where TParameter : struct #Parameters
Name
Type
Description
parametersDictionary<String>parameterName{TParameter}defaultValueStringcanBeNullOrEmptyBooleanReturns
Type
Description
Stringpublic virtual 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
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 #