Class CamelCaseStringEnumConverter
Converts an System.Enum to and from its name string value.
When converting to its string value it will use camelCase formatting.
Inheritance
CamelCaseStringEnumConverter
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class CamelCaseStringEnumConverter : StringEnumConverter
Constructors
CamelCaseStringEnumConverter()
Declaration
public CamelCaseStringEnumConverter()
Properties
CanWrite
Declaration
public override bool CanWrite { get; }
Property Value
Methods
CanConvert(Type)
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type |
Name |
Description |
Type |
objectType |
|
Returns
ReadJson(JsonReader, Type, Object, JsonSerializer)
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonReader |
reader |
|
Type |
objectType |
|
Object |
existingValue |
|
Newtonsoft.Json.JsonSerializer |
serializer |
|
Returns
Extension Methods
See Also
Newtonsoft.Json.Converters.StringEnumConverter