Show / Hide Table of Contents

Class NamedDictionaryConverterType<TKey, TValue>

Inheritance
object
JsonConverter
JsonConverter<Dictionary<TKey, TValue>>
NamedDictionaryConverterType<TKey, TValue>
Inherited Members
JsonConverter<Dictionary<TKey, TValue>>.CanConvert(Type)
JsonConverter<Dictionary<TKey, TValue>>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<Dictionary<TKey, TValue>>.Write(Utf8JsonWriter, Dictionary<TKey, TValue>, JsonSerializerOptions)
JsonConverter<Dictionary<TKey, TValue>>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<Dictionary<TKey, TValue>>.WriteAsPropertyName(Utf8JsonWriter, Dictionary<TKey, TValue>, JsonSerializerOptions)
JsonConverter<Dictionary<TKey, TValue>>.HandleNull
JsonConverter<Dictionary<TKey, TValue>>.Type
JsonConverter.CanConvert(Type)
JsonConverter.Type
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Serialization
Assembly: PayrollEngine.Core.dll
Syntax
public sealed class NamedDictionaryConverterType<TKey, TValue> : JsonConverter<Dictionary<TKey, TValue>> where TKey : class
Type Parameters
Name Description
TKey
TValue

Constructors

NamedDictionaryConverterType(JsonSerializerOptions)

Declaration
public NamedDictionaryConverterType(JsonSerializerOptions options)
Parameters
Type Name Description
JsonSerializerOptions options

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Declaration
public override Dictionary<TKey, TValue> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
Type typeToConvert
JsonSerializerOptions options
Returns
Type Description
Dictionary<TKey, TValue>
Overrides
JsonConverter<Dictionary<TKey, TValue>>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Write(Utf8JsonWriter, Dictionary<TKey, TValue>, JsonSerializerOptions)

Declaration
public override void Write(Utf8JsonWriter writer, Dictionary<TKey, TValue> values, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer
Dictionary<TKey, TValue> values
JsonSerializerOptions options
Overrides
JsonConverter<Dictionary<TKey, TValue>>.Write(Utf8JsonWriter, Dictionary<TKey, TValue>, JsonSerializerOptions)

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX