Class DropdownValue
OptimaJet.Workflow.Core.Model.DropdownValue
Represents a selectable option for a ParameterType.Dropdown or ParameterType.MultiSelect parameter.
Namespace: OptimaJet.Workflow.Core.Model
public class DropdownValueConstructors
public DropdownValue() #Initializes a new DropdownValue for property-based initialization.
public DropdownValue(KeyValuePair<string, string> pair) #Initializes a new DropdownValue from a KeyValuePair<TKey, TValue>.
Parameters
Name
Type
Description
pairKeyValuePair<String, String>public DropdownValue(string name) #Initializes a new DropdownValue whose name and value are identical.
Parameters
Name
Type
Description
nameStringThe option label and parameter value assigned to DropdownValue.Name and DropdownValue.Value, respectively.
public DropdownValue(string name, string value) #Initializes a new DropdownValue with the specified display name and parameter value.
Parameters
Name
Type
Description
Properties
public string Name { get; set; } #Gets or sets the option label displayed in the parameter editor.
public string Value { get; set; } #Gets or sets the parameter value associated with the option.
Methods
public DropdownValue Clone() #Creates a shallow copy of this option.
Returns
Type
Description
DropdownValue