Editare

Partajați prin


JsonParameterInfoValues Class

Definition

Provides information about a constructor parameter required for JSON deserialization.

public ref class JsonParameterInfoValues sealed
public sealed class JsonParameterInfoValues
type JsonParameterInfoValues = class
Public NotInheritable Class JsonParameterInfoValues
Inheritance
JsonParameterInfoValues

Remarks

This API is intended for use by the output of the System.Text.Json source generator and should not be called directly.

Constructors

JsonParameterInfoValues()

Properties

DefaultValue

Gets or sets the default value of the parameter.

HasDefaultValue

Gets or sets a value that specifies whether a default value was specified for the parameter.

IsMemberInitializer

Whether the parameter represents a required or init-only member initializer.

IsNullable

Whether the parameter allows null values.

Name

Gets or sets the name of the parameter.

ParameterType

Gets or sets the type of the parameter.

Position

Gets or sets 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