共用方式為


ParameterTypeConverter Class

Definition

Defines values for ParameterType.

public sealed class ParameterTypeConverter : Newtonsoft.Json.JsonConverter
type ParameterTypeConverter = class
    inherit JsonConverter
Public NotInheritable Class ParameterTypeConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
ParameterTypeConverter

Constructors

ParameterTypeConverter()

Methods

CanConvert(Type)

Returns if objectType can be converted to ParameterType by the converter.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Overrides ReadJson and converts token to ParameterType.

WriteJson(JsonWriter, Object, JsonSerializer)

Overriding WriteJson for ParameterType for serialization.

Applies to