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

# FormElicitationBuilder

> Typed form builder. `String)` seeds mappable properties, then expression starters reconfigure them and string starters add extra fields.

## Definition

**Assembly:** CloudNimble.McpEssentials.Core.dll

**Namespace:** CloudNimble.McpEssentials.Core.Tasks.Elicitations

**Inheritance:** CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder

## Syntax

```csharp theme={"dark"}
CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder<T>
```

## Summary

Typed form builder. `String)` seeds mappable properties,
then expression starters reconfigure them and string starters add extra fields.

## Type Parameters

* `T` - The form type.

## Constructors

### &#x20;.ctor

Initializes a builder seeded from *T*.

#### Syntax

```csharp theme={"dark"}
public FormElicitationBuilder(string message)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `message` | `string` | The message presented to the user. |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Initializes a builder with *message* as the prompt.

#### Syntax

```csharp theme={"dark"}
public FormElicitationBuilder(string message)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `message` | `string` | The message presented to the user. |

#### Exceptions

| Exception | Description |
| - | - |
| `ArgumentNullException` | Thrown when *message* is [`null`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null). |

### &#x20;.ctor Inherited

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

#### Syntax

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

## Properties

### &#x20;Fields Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Gets the fields accumulated so far, in insertion order.

#### Syntax

```csharp theme={"dark"}
internal System.Collections.Generic.List<CloudNimble.McpEssentials.Core.Tasks.Elicitations.ElicitationField> Fields { get; }
```

#### Property Value

Type: `System.Collections.Generic.List<CloudNimble.McpEssentials.Core.Tasks.Elicitations.ElicitationField>`

### &#x20;Message Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Gets the prompt presented with the form.

#### Syntax

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

#### Property Value

Type: `string`

## Methods

### &#x20;Boolean

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.BooleanFieldBuilder<T> Boolean(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.BooleanFieldBuilder<T>`

### &#x20;Boolean Virtual

Adds or reconfigures a boolean field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.BooleanFieldBuilder<T> Boolean<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.BooleanFieldBuilder<T>`
The boolean field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Boolean Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a boolean field named *name*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.BooleanFieldBuilder Boolean(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.BooleanFieldBuilder`
The boolean field facade.

### &#x20;Build Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Builds SDK `ElicitRequestParams` for form mode.

#### Syntax

```csharp theme={"dark"}
public virtual ModelContextProtocol.Protocol.ElicitRequestParams Build()
```

#### Returns

Type: `ModelContextProtocol.Protocol.ElicitRequestParams`
The elicitation request parameters.

#### Exceptions

| Exception | Description |
| - | - |
| `InvalidOperationException` | Thrown when the message is blank or a field is invalid. |

### &#x20;Choice

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.ChoiceFieldBuilder<T> Choice(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.ChoiceFieldBuilder<T>`

### &#x20;Choice Virtual

Adds or reconfigures a single-select field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.ChoiceFieldBuilder<T> Choice<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.ChoiceFieldBuilder<T>`
The choice field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Choice Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a single-select field named *name*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.ChoiceFieldBuilder Choice(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.ChoiceFieldBuilder`
The choice field facade.

### &#x20;Date

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> Date(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`

### &#x20;Date Virtual

Adds or reconfigures a date field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> Date<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`
The string field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Date Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a string field with format `date`.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder Date(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder`
The string field facade.

### &#x20;DateTime

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> DateTime(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`

### &#x20;DateTime Virtual

Adds or reconfigures a date-time field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> DateTime<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`
The string field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;DateTime Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a string field with format `date-time`.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder DateTime(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder`
The string field facade.

### &#x20;Email

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> Email(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`

### &#x20;Email Virtual

Adds or reconfigures an email field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> Email<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`
The string field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Email Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a string field with format `email`.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder Email(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder`
The string field facade.

### &#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;Exclude Virtual

Removes the field for *property* if it was seeded or added.
No-ops when the property was unmappable or never added.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder<T> Exclude<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder<T>`
This builder.

#### Type Parameters

* `TProp` - The property type.

### &#x20;GetHashCode Inherited Virtual

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

#### Syntax

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

#### Returns

Type: `int`

### &#x20;GetOrAdd Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Gets the field with camelCase name *name*, adding it when missing.
Reconfiguring a different kind resets kind-specific constraints.

#### Syntax

```csharp theme={"dark"}
internal CloudNimble.McpEssentials.Core.Tasks.Elicitations.ElicitationField GetOrAdd(string name, CloudNimble.McpEssentials.Core.Tasks.Elicitations.ElicitationFieldKind kind)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. |
| `kind` | `CloudNimble.McpEssentials.Core.Tasks.Elicitations.ElicitationFieldKind` | The field kind. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.ElicitationField`
The field.

#### Exceptions

| Exception | Description |
| - | - |
| `ArgumentException` | Thrown when *name* is empty. |

### &#x20;GetType Inherited

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

#### Syntax

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

#### Returns

Type: `System.Type`

### &#x20;Integer

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T> Integer(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T>`

### &#x20;Integer Virtual

Adds or reconfigures an integer field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T> Integer<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T>`
The number field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Integer Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures an integer field named *name*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder Integer(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder`
The number field facade.

### &#x20;MemberwiseClone Inherited

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

#### Syntax

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

#### Returns

Type: `object`

### &#x20;MultiChoice

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.MultiChoiceFieldBuilder<T> MultiChoice(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.MultiChoiceFieldBuilder<T>`

### &#x20;MultiChoice Virtual

Adds or reconfigures a multi-select field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.MultiChoiceFieldBuilder<T> MultiChoice<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.MultiChoiceFieldBuilder<T>`
The multi-choice field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;MultiChoice Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a multi-select field named *name*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.MultiChoiceFieldBuilder MultiChoice(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.MultiChoiceFieldBuilder`
The multi-choice field facade.

### &#x20;Number

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T> Number(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T>`

### &#x20;Number Virtual

Adds or reconfigures a number field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T> Number<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder<T>`
The number field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Number Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a floating-point field named *name*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder Number(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.NumberFieldBuilder`
The number field facade.

### &#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;Remove Inherited

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Removes the field whose wire name matches *name*, if present.

#### Syntax

```csharp theme={"dark"}
internal void Remove(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. |

### &#x20;String

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> String(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`

### &#x20;String Virtual

Adds or reconfigures a string field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> String<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`
The string field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;String Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a string field named *name*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder String(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder`
The string field facade.

### &#x20;ToInputRequest Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Builds an `InputRequest` wrapping [FormElicitationBuilder.Build](https://ai.easyaf.dev/mcpessentials/api-reference/CloudNimble/McpEssentials/Core/Tasks/Elicitations/FormElicitationBuilder.md#build).

#### Syntax

```csharp theme={"dark"}
public virtual ModelContextProtocol.Protocol.InputRequest ToInputRequest()
```

#### Returns

Type: `ModelContextProtocol.Protocol.InputRequest`
An elicitation input request for task attachment.

### &#x20;ToString Inherited Virtual

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

#### Syntax

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

#### Returns

Type: `string?`

### &#x20;Uri

#### Syntax

```csharp theme={"dark"}
public CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> Uri(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | - |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`

### &#x20;Uri Virtual

Adds or reconfigures a URI field for *property*.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T> Uri<TProp>(System.Linq.Expressions.Expression<System.Func<T, TProp>> property)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `property` | `System.Linq.Expressions.Expression<System.Func<T, TProp>>` | A simple property access on *T*. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder<T>`
The string field facade.

#### Type Parameters

* `TProp` - The property type.

### &#x20;Uri Inherited Virtual

> [!NOTE]
>
> Inherited from `CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder`

Adds or reconfigures a string field with format `uri`.

#### Syntax

```csharp theme={"dark"}
public virtual CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder Uri(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The field identifier. CamelCased on the wire. |

#### Returns

Type: `CloudNimble.McpEssentials.Core.Tasks.Elicitations.StringFieldBuilder`
The string field facade.

## Related APIs

* CloudNimble.McpEssentials.Core.Tasks.Elicitations.IFormElicitationSource\<T>
* CloudNimble.McpEssentials.Core.Tasks.Elicitations.IFormElicitationSource


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