 | StringEnumConverter Constructor (Type,Object[]) |
Namespace:
Newtonsoft.Json.Converters
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntaxpublic StringEnumConverter(
Type namingStrategyType,
Object[] namingStrategyParameters
)
Parameters
- namingStrategyType
- Type: System.Type
The Type of the NamingStrategy used to write enum text. - namingStrategyParameters
- Type:System.Object[]
The parameter list to use when constructing the NamingStrategy described by namingStrategyType.
If null, the default constructor is used.
When non-null, there must be a constructor defined in the NamingStrategy that exactly matches the number,
order, and type of these parameters.
See Also