InteractionFileCollection
Classsealednet10.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
Remarks
Section titled Remarks 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.
Properties1
Section titled PropertiesView all properties
Methods2
Section titled Methods Deletes the uploaded files from disk and prevents new content reads. Streams that are already open remain usable until those streams are disposed.
Returns an enumerator that iterates through the uploaded files.
Indexers1
Section titled IndexersView all indexers