Редагувати

Поділитися через


JsonParameterInfo Class

Definition

Provides JSON serialization-related metadata about a constructor parameter.

public ref class JsonParameterInfo abstract
public abstract class JsonParameterInfo
type JsonParameterInfo = class
Public MustInherit Class JsonParameterInfo
Inheritance
JsonParameterInfo

Properties

AttributeProvider

Gets a custom attribute provider for the current parameter.

DeclaringType

Gets the declaring type of the constructor.

DefaultValue

Gets a value indicating the default value if the parameter has a default value.

HasDefaultValue

Gets a value indicating whether the parameter has a default value.

IsMemberInitializer

Gets a value indicating whether the parameter represents a required or init-only member initializer.

IsNullable

Gets a value indicating whether the constructor parameter is annotated as nullable.

Name

Gets the name of the parameter.

ParameterType

Gets the type of this parameter.

Position

Gets the zero-based position of the parameter in the formal parameter list.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to