1 implementation of ITemporaryStorage
Aspire.Hosting.Native.Server (1)
src\Shared\TemporaryStorage.cs (1)
35internal sealed class TemporaryStorage : ITemporaryStorage
7 references to ITemporaryStorage
Aspire.Hosting.Native.Server (7)
Dcp\DcpApiClient.cs (2)
34public DcpApiClient(NativeServerOptions options, ILogger logger, ITemporaryStorage temporaryStorage) 42internal DcpApiClient(NativeServerOptions options, HttpClient client, ITemporaryStorage temporaryStorage) : this(options, NullLogger.Instance, temporaryStorage)
NativeServerHostedService.cs (1)
19ILoggerFactory loggerFactory, IHostApplicationLifetime applicationLifetime, ITemporaryStorage temporaryStorage) : BackgroundService
Program.cs (2)
35builder.Services.AddSingleton<ITemporaryStorage, TemporaryStorage>(); 40services.GetRequiredService<ITemporaryStorage>()));
src\Shared\TemporaryStorage.cs (2)
33/// Default <see cref="ITemporaryStorage"/> implementation backed by the system temporary directory. 45/// where <see cref="ITemporaryStorage"/> allocates. Allocate storage through an injected instance.