| WikiStringEnumJsonConverterCreateConverter Method |
This is preliminary documentation and is subject to change.
Creates a converter for a specified type.
Namespace: WikiClientLibrary.InfrastructuresAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public override JsonConverter? CreateConverter(
Type typeToConvert,
JsonSerializerOptions options
)
Public Overrides Function CreateConverter (
typeToConvert As Type,
options As JsonSerializerOptions
) As JsonConverter
Dim instance As WikiStringEnumJsonConverter
Dim typeToConvert As Type
Dim options As JsonSerializerOptions
Dim returnValue As JsonConverter
returnValue = instance.CreateConverter(typeToConvert,
options)
public:
virtual JsonConverter^ CreateConverter(
Type^ typeToConvert,
JsonSerializerOptions^ options
) override
abstract CreateConverter :
typeToConvert : Type *
options : JsonSerializerOptions -> JsonConverter
override CreateConverter :
typeToConvert : Type *
options : JsonSerializerOptions -> JsonConverter
Parameters
- typeToConvert Type
- The type handled by the converter.
- options JsonSerializerOptions
- The serialization options to use.
Return Value
JsonConverterA converter for which
T is compatible with
typeToConvert.
See Also