Watch Aspire live streamsDocsTry Aspire

InteractionFileCollection

Classsealednet10.0
📦 Aspire.Hosting v13.6.0
Represents the uploaded files associated with an interaction input.
namespace Aspire.Hosting;
public sealed class InteractionFileCollection
: System.Collections.Generic.IEnumerable<Aspire.Hosting.InteractionFile>,
System.Collections.Generic.IReadOnlyCollection<Aspire.Hosting.InteractionFile>,
System.Collections.Generic.IReadOnlyList<Aspire.Hosting.InteractionFile>,
System.Collections.IEnumerable,
System.IDisposable
{
// ...
}
IEnumerable<InteractionFile>IReadOnlyCollection<InteractionFile>IReadOnlyList<InteractionFile>IEnumerableIDisposable
Dispose the collection when its files are no longer needed. Disposing the collection deletes the uploaded files from disk and prevents new content reads. Streams opened before disposal remain usable until those streams are disposed. Disposal is idempotent.
View all properties
View all methods
View all indexers