EnumExpressionConverter<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converter which allows json to be expression to object or static object.
public class EnumExpressionConverter<T> : Newtonsoft.Json.JsonConverter<AdaptiveExpressions.Properties.EnumExpression<T>> where T : struct
type EnumExpressionConverter<'T (requires 'T : struct)> = class
inherit JsonConverter<EnumExpression<'T>>
Public Class EnumExpressionConverter(Of T)
Inherits JsonConverter(Of EnumExpression(Of T))
Type Parameters
- T
The enum type to construct.
- Inheritance
-
Newtonsoft.Json.JsonConverter<EnumExpression<T>>EnumExpressionConverter<T>
Constructors
EnumExpressionConverter<T>() |
Initializes a new instance of the EnumExpressionConverter<T> class. |
Properties
CanRead |
Gets a value indicating whether this Converter can read JSON. |
Methods
ReadJson(JsonReader, Type, EnumExpression<T>, Boolean, JsonSerializer) |
Reads the JSON representation of the object. |
WriteJson(JsonWriter, EnumExpression<T>, JsonSerializer) |
Writes the JSON representation of the object. |