> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# XmlParameterInfoValues

> Provides information about a constructor parameter that is required for serialization and deserialization. This class cannot be inherited.

## Definition

**Assembly:** CloudNimble.XmlEssentials.dll

**Namespace:** CloudNimble.Text.Xml.Serialization

## Syntax

```csharp theme={"dark"}
CloudNimble.Text.Xml.Serialization.XmlParameterInfoValues
```

## 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 to `JsonParameterInfoValues` in
`System.Text.Json`.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public XmlParameterInfoValues()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;DefaultValue

Gets or initializes the default value of the parameter.

#### Syntax

```csharp theme={"dark"}
public object DefaultValue { get; init; }
```

#### Property Value

Type: `object?`
The value the parameter takes when the document has none for it. It is used only when
[XmlParameterInfoValues.HasDefaultValue](https://easyaf.nimbleapps.cloud/xmlessentials/api-reference/CloudNimble/Text/Xml/Serialization/XmlParameterInfoValues.md#hasdefaultvalue) is [`true`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).

### &#x20;HasDefaultValue

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

#### Syntax

```csharp theme={"dark"}
public bool HasDefaultValue { get; init; }
```

#### Property Value

Type: `bool`
[`true`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) if the parameter has a default value; otherwise, [`false`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).

### &#x20;IsNullable

Gets or initializes a value that indicates whether the parameter accepts [`null`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null).

#### Syntax

```csharp theme={"dark"}
public bool IsNullable { get; init; }
```

#### Property Value

Type: `bool`
[`true`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) if the nullable annotations of the parameter allow [`null`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null), or say
nothing; otherwise, [`false`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).

#### Remarks

The value is read when [XmlSerializerOptions.RespectNullableAnnotations](https://easyaf.nimbleapps.cloud/xmlessentials/api-reference/CloudNimble/Text/Xml/XmlSerializerOptions.md#respectnullableannotations) is [`true`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).

### &#x20;Name

Gets or initializes the name of the parameter.

#### Syntax

```csharp theme={"dark"}
public string Name { get; init; }
```

#### Property Value

Type: `string`
The name, which is matched to a member of the type without regard to case.

### &#x20;ParameterType

Gets or initializes the type of the parameter.

#### Syntax

```csharp theme={"dark"}
public System.Type ParameterType { get; init; }
```

#### Property Value

Type: `System.Type`
The type of the parameter.

### &#x20;Position

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

#### Syntax

```csharp theme={"dark"}
public int Position { get; init; }
```

#### Property Value

Type: `int`
The position. The arguments are passed to the object creator in this order.

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.