Method WithEnumName
WithEnumName(string)
Sets the name of the enum for the field descriptor.
public GenericEnumFieldDescriptorBuilder WithEnumName(string enumName)
Parameters
enumName
stringThe name of the enum.
Returns
- GenericEnumFieldDescriptorBuilder
The builder instance.
Exceptions
- ArgumentException
Thrown when
enumName
is null or whitespace.