Show / Hide Table of Contents

    Class StringFlagsEnumConverter

    Converts a FlagsEnum to its name string value.

    Inheritance
    System.Object
    StringFlagsEnumConverter
    Namespace: Cuemon.Serialization.Json.Converters
    Assembly: Cuemon.Serialization.Json.dll
    Syntax
    public class StringFlagsEnumConverter : StringEnumConverter

    Constructors

    | Improve this Doc

    StringFlagsEnumConverter()

    Initializes a new instance of the StringFlagsEnumConverter class.

    Declaration
    public StringFlagsEnumConverter()

    Methods

    | Improve this Doc

    ReadJson(JsonReader, Type, Object, JsonSerializer)

    Reads the JSON representation of the object.

    Declaration
    public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonReader reader

    The Newtonsoft.Json.JsonReader to read from.

    Type objectType

    Type of the object.

    System.Object existingValue

    The existing value of object being read.

    JsonSerializer serializer

    The calling serializer.

    Returns
    Type Description
    System.Object

    The object value.

    | Improve this Doc

    WriteJson(JsonWriter, Object, JsonSerializer)

    Writes the JSON representation of the object.

    Declaration
    public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonWriter writer

    The Newtonsoft.Json.JsonWriter to write to.

    System.Object value

    The value.

    JsonSerializer serializer

    The calling serializer.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX