Click or drag to resize
Json.NET

StringEnumConverter Constructor (Type, Object)

 
Initializes a new instance of the StringEnumConverter class.

Namespace:  Newtonsoft.Json.Converters
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public StringEnumConverter(
	Type namingStrategyType,
	Object[] namingStrategyParameters
)

Parameters

namingStrategyType
Type: SystemType
The Type of the NamingStrategy used to write enum text.
namingStrategyParameters
Type: SystemObject
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