Assembly: OptimaJet.Workflow.Core

Class ParameterTypeExtensions

OptimaJet.Workflow.Core.Model.ParameterTypeExtensions

Provides operations for classifying ParameterType values.

public static class ParameterTypeExtensions

Methods

public static bool IsDropdown(this ParameterType parameterType) #
Determines whether parameterType represents a list populated from CodeActionParameterDefinition.DropdownValues.

Parameters

Name
Type
Description
parameterType
ParameterType
The ParameterType to evaluate.

Returns

Type
Description
Boolean
true when parameterType is ParameterType.Dropdown or ParameterType.MultiSelect; otherwise, false.