JsonConverterFactory<TConverter> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Constructors
JsonConverterFactory<TConverter>() |
Methods
Build(ResourceExplorer, SourceContext) |
Builds an instance of Newtonsoft.Json.JsonConverter given the current SourceContext. |