Search Results for

    Show / Hide Table of Contents
    View Source

    Class AutoInterningStringKeyCaseInsensitiveDictionaryConverter<TValue>

    When applied to a dictionary with a string key, will ensure the deserialized string keys are interned

    Inheritance
    System.Object
    CaseInsensitiveDictionaryConverter<TValue>
    Namespace: Umbraco.Cms.Infrastructure.Serialization
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class AutoInterningStringKeyCaseInsensitiveDictionaryConverter<TValue> : CaseInsensitiveDictionaryConverter<TValue>
    Type Parameters
    Name Description
    TValue
    Remarks

    borrowed from https://stackoverflow.com/a/36116462/694494

    Constructors

    View Source

    AutoInterningStringKeyCaseInsensitiveDictionaryConverter()

    Declaration
    public AutoInterningStringKeyCaseInsensitiveDictionaryConverter()
    View Source

    AutoInterningStringKeyCaseInsensitiveDictionaryConverter(StringComparer)

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

    Methods

    View Source

    ReadJson(JsonReader, Type, Object, JsonSerializer)

    Declaration
    public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
    Parameters
    Type Name Description
    JsonReader reader
    Type objectType
    System.Object existingValue
    JsonSerializer serializer
    Returns
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • AutoInterningStringKeyCaseInsensitiveDictionaryConverter()
      • AutoInterningStringKeyCaseInsensitiveDictionaryConverter(StringComparer)
    • Methods
      • ReadJson(JsonReader, Type, Object, JsonSerializer)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX