Share via


InteractionInputCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets an input by its index.

Item[String]

Gets an input by its name.

Item[Int32]

Source:
IInteractionService.cs
Source:
IInteractionService.cs

Gets an input by its index.

public Aspire.Hosting.InteractionInput this[int index] { get; }
member this.Item(int) : Aspire.Hosting.InteractionInput
Default Public ReadOnly Property Item(index As Integer) As InteractionInput

Parameters

index
Int32

The zero-based index of the input.

Property Value

The input at the specified index.

Implements

Applies to

Item[String]

Source:
IInteractionService.cs
Source:
IInteractionService.cs

Gets an input by its name.

public Aspire.Hosting.InteractionInput this[string name] { get; }
member this.Item(string) : Aspire.Hosting.InteractionInput
Default Public ReadOnly Property Item(name As String) As InteractionInput

Parameters

name
String

The name of the input.

Property Value

The input with the specified name.

Exceptions

Thrown when no input with the specified name exists.

Applies to