Table of Contents

Internal classSealedInternal SlowQueryJsonContext

Namespace
Rowles.LeanLucene.Diagnostics
Assembly
Rowles.LeanLucene.dll
[JsonSerializable(typeof(SlowQueryEntry))]
internal sealed class SlowQueryJsonContext : JsonSerializerContext, IJsonTypeInfoResolver
SlowQueryJsonContext

Constructors

Public constructor SlowQueryJsonContext()
Public constructor SlowQueryJsonContext(JsonSerializerOptions)

Creates an instance of System.Text.Json.Serialization.JsonSerializerContext and binds it with the indicated System.Text.Json.JsonSerializerOptions.

Properties

Public propertyRead-only DateTime

Defines the source generated JSON serialization contract metadata for a given type.

Public propertyStaticRead-only Default

The default System.Text.Json.Serialization.JsonSerializerContext associated with a default System.Text.Json.JsonSerializerOptions instance.

Public propertyRead-only Double

Defines the source generated JSON serialization contract metadata for a given type.

Protected propertyRead-only GeneratedSerializerOptions

The source-generated options associated with this context.

Public propertyRead-only Int32

Defines the source generated JSON serialization contract metadata for a given type.

Public propertyRead-only SlowQueryEntry

Defines the source generated JSON serialization contract metadata for a given type.

Public propertyRead-only String

Defines the source generated JSON serialization contract metadata for a given type.

Methods

Public method GetTypeInfo(Type)

Gets metadata for the specified type.

Explicit Interface Implementations

Public method IJsonTypeInfoResolver.GetTypeInfo(Type, JsonSerializerOptions)

Resolves a System.Text.Json.Serialization.Metadata.JsonTypeInfo contract for the requested type and options.