Jaa


JsonConverterFactory<TConverter> Class

Definition

Abstraction that builds Newtonsoft.Json.JsonConverter instances for a JsonConverter for type TConverter when TConverter is independent of the SourceContext.

public class JsonConverterFactory<TConverter> : Microsoft.Bot.Builder.Dialogs.Declarative.Converters.JsonConverterFactory where TConverter : JsonConverter, new()
type JsonConverterFactory<'Converter (requires 'Converter :> JsonConverter and 'Converter : (new : unit -> 'Converter))> = class
    inherit JsonConverterFactory
Public Class JsonConverterFactory(Of TConverter)
Inherits JsonConverterFactory

Type Parameters

TConverter

Type of class that the built Newtonsoft.Json.JsonConverter will handle during Json deserialization.

Inheritance
JsonConverterFactory<TConverter>

Constructors

JsonConverterFactory<TConverter>()

Methods

Build(ResourceExplorer, SourceContext)

Builds an instance of Newtonsoft.Json.JsonConverter given the current SourceContext.

Applies to