Definition
Assembly: CloudNimble.XmlEssentials.dll Namespace: CloudNimble.Text.Xml.SerializationSyntax
Summary
Provides information about a constructor parameter that is required for serialization and deserialization. This class cannot be inherited.Remarks
Source-generated contexts create instances of this class. It is analogous toJsonParameterInfoValues in
System.Text.Json.
Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
DefaultValue
Gets or initializes the default value of the parameter.Syntax
Property Value
Type:object?
The value the parameter takes when the document has none for it. It is used only when
XmlParameterInfoValues.HasDefaultValue is true.
HasDefaultValue
Gets or initializes a value that specifies whether a default value was specified for the parameter.Syntax
Property Value
Type:bool
true if the parameter has a default value; otherwise, false.
IsNullable
Gets or initializes a value that indicates whether the parameter acceptsnull.
Syntax
Property Value
Type:bool
true if the nullable annotations of the parameter allow null, or say
nothing; otherwise, false.
Remarks
The value is read when XmlSerializerOptions.RespectNullableAnnotations istrue.
Name
Gets or initializes the name of the parameter.Syntax
Property Value
Type:string
The name, which is matched to a member of the type without regard to case.
ParameterType
Gets or initializes the type of the parameter.Syntax
Property Value
Type:System.Type
The type of the parameter.
Position
Gets or initializes the zero-based position of the parameter in the formal parameter list.Syntax
Property Value
Type:int
The position. The arguments are passed to the object creator in this order.
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?