InteractionInputCollection
Class sealed net10.0
A collection of interaction inputs that supports both indexed and name-based access.
namespace Aspire.Hosting;
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>, System.Collections.IEnumerable{ // ...} IEnumerable<InteractionInput>IReadOnlyCollection<InteractionInput>IReadOnlyList<InteractionInput>IEnumerable
8 members
Constructors1
Section titled ConstructorsInteractionInputCollection(IReadOnlyList<InteractionInput>) Initializes a new instance of the
InteractionInputCollection class. Properties2
Section titled PropertiesCountgetint Gets the number of inputs in the collection.
NamesgetIEnumerable<string> Gets the names of all inputs in the collection.
Methods3
Section titled MethodsContainsName(string)bool Determines whether the collection contains an input with the specified name.
GetEnumerator Returns an enumerator that iterates through the collection.
TryGetByName(string, InteractionInput?)bool Tries to get an input by its name.