Share via


InteractionInputCollection Class

Definition

A collection of interaction inputs that supports both indexed and name-based access.

public sealed class InteractionInputCollection : System.Collections.Generic.IEnumerable<Aspire.Hosting.InteractionInput>, System.Collections.Generic.IReadOnlyCollection<Aspire.Hosting.InteractionInput>, System.Collections.Generic.IReadOnlyList<Aspire.Hosting.InteractionInput>
type InteractionInputCollection = class
    interface IReadOnlyList<InteractionInput>
    interface seq<InteractionInput>
    interface IEnumerable
    interface IReadOnlyCollection<InteractionInput>
Public NotInheritable Class InteractionInputCollection
Implements IEnumerable(Of InteractionInput), IReadOnlyCollection(Of InteractionInput), IReadOnlyList(Of InteractionInput)
Inheritance
InteractionInputCollection
Implements

Constructors

InteractionInputCollection(IReadOnlyList<InteractionInput>)

Initializes a new instance of the InteractionInputCollection class.

Properties

Count

Gets the number of inputs in the collection.

Item[Int32]

Gets an input by its index.

Item[String]

Gets an input by its name.

Names

Gets the names of all inputs in the collection.

Methods

ContainsName(String)

Determines whether the collection contains an input with the specified name.

GetEnumerator()

Returns an enumerator that iterates through the collection.

TryGetByName(String, InteractionInput)

Tries to get an input by its name.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to