Search Results for

    Show / Hide Table of Contents

    Class CaseInsensitiveDictionaryConverter<T>

    Marks dictionaries so they are deserialized as case-insensitive.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Serialization
    Assembly: cs.temp.dll.dll
    Syntax
    public class CaseInsensitiveDictionaryConverter<T> : CustomCreationConverter<IDictionary>
    Type Parameters
    Name Description
    T
    Examples

    [JsonConverter(typeof(CaseInsensitiveDictionaryConverter{PropertyData[]}))] public Dictionary{string, PropertyData[]} PropertyData {{ get; set; }}

    Constructors

    CaseInsensitiveDictionaryConverter()

    Declaration
    public CaseInsensitiveDictionaryConverter()

    CaseInsensitiveDictionaryConverter(StringComparer)

    Declaration
    public CaseInsensitiveDictionaryConverter(StringComparer comparer)
    Parameters
    Type Name Description
    System.StringComparer comparer

    Properties

    CanRead

    Declaration
    public override bool CanRead { get; }
    Property Value
    Type Description
    System.Boolean

    CanWrite

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

    Methods

    CanConvert(Type)

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

    Create(Type)

    Declaration
    public override IDictionary Create(Type objectType)
    Parameters
    Type Name Description
    System.Type objectType
    Returns
    Type Description
    System.Collections.Generic.IDictionary
    In This Article
    • Constructors
      • CaseInsensitiveDictionaryConverter()
      • CaseInsensitiveDictionaryConverter(StringComparer)
    • Properties
      • CanRead
      • CanWrite
    • Methods
      • CanConvert(Type)
      • Create(Type)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX