Show / Hide Table of Contents

    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
    Object
    CamelCaseStringEnumConverter
    Namespace: Microsoft.Graph.Communications.Common.OData
    Assembly: Microsoft.Graph.Communications.Common.dll
    Syntax
    public class CamelCaseStringEnumConverter : StringEnumConverter

    Constructors

    CamelCaseStringEnumConverter()

    Initializes a new instance of the CamelCaseStringEnumConverter class.

    Declaration
    public CamelCaseStringEnumConverter()

    Properties

    CanWrite

    Declaration
    public override bool CanWrite { get; }
    Property Value
    Type Description
    Boolean

    Methods

    CanConvert(Type)

    Declaration
    public override bool CanConvert(Type objectType)
    Parameters
    Type Name Description
    Type objectType
    Returns
    Type Description
    Boolean

    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
    Type Description
    Object

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)

    See Also

    Newtonsoft.Json.Converters.StringEnumConverter
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.