Search Results for

    Show / Hide Table of Contents
    View Source

    Class CaseInsensitiveDictionaryConverter<T>

    Marks dictionaries so they are deserialized as case-insensitive.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Serialization
    Assembly: Umbraco.Infrastructure.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

    View Source

    CaseInsensitiveDictionaryConverter()

    Declaration
    public CaseInsensitiveDictionaryConverter()
    View Source

    CaseInsensitiveDictionaryConverter(StringComparer)

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

    Properties

    View Source

    CanRead

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

    CanWrite

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

    Methods

    View Source

    CanConvert(Type)

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

    Create(Type)

    Declaration
    public override IDictionary Create(Type objectType)
    Parameters
    Type Name Description
    Type objectType
    Returns
    Type Description
    System.Collections.IDictionary
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX