Method WithAllowMultiple
WithAllowMultiple(bool)
Sets whether the field descriptor allows multiple enum values.
public GenericEnumFieldDescriptorBuilder WithAllowMultiple(bool allowMultiple)
Parameters
allowMultiple
boolIf
true
, the field will allow multiple values; otherwise, it will allow a single value.
Returns
- GenericEnumFieldDescriptorBuilder
The builder instance.