Click or drag to resize

WikiStringEnumJsonConverter Class

This is preliminary documentation and is subject to change.

Converts all-lower-case enum name in MediaWiki API response to the enum value.
Inheritance Hierarchy
SystemObject
  System.Text.Json.SerializationJsonConverter
    System.Text.Json.SerializationJsonConverterFactory
      WikiClientLibrary.InfrastructuresWikiStringEnumJsonConverter

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class WikiStringEnumJsonConverter : JsonConverterFactory

The WikiStringEnumJsonConverter type exposes the following members.

Constructors
 NameDescription
Public methodWikiStringEnumJsonConverterInitializes a new instance of the WikiStringEnumJsonConverter class
Top
Properties
 NameDescription
Public propertyTypeGets the type being converted by the current converter instance.
(Inherited from JsonConverterFactory)
Top
Methods
 NameDescription
Public methodCanConvertWhen overridden in a derived class, determines whether the converter instance can convert the specified object type.
(Overrides JsonConverterCanConvert(Type))
Public methodCreateConverterCreates a converter for a specified type.
(Overrides JsonConverterFactoryCreateConverter(Type, JsonSerializerOptions))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also