1 implementation of ITemporaryStorage
Aspire.Hosting.Native.Server (1)
src\Shared\TemporaryStorage.cs (1)
35
internal sealed class TemporaryStorage :
ITemporaryStorage
7 references to ITemporaryStorage
Aspire.Hosting.Native.Server (7)
Dcp\DcpApiClient.cs (2)
34
public DcpApiClient(NativeServerOptions options, ILogger logger,
ITemporaryStorage
temporaryStorage)
42
internal DcpApiClient(NativeServerOptions options, HttpClient client,
ITemporaryStorage
temporaryStorage) : this(options, NullLogger.Instance, temporaryStorage)
NativeServerHostedService.cs (1)
19
ILoggerFactory loggerFactory, IHostApplicationLifetime applicationLifetime,
ITemporaryStorage
temporaryStorage) : BackgroundService
Program.cs (2)
35
builder.Services.AddSingleton<
ITemporaryStorage
, TemporaryStorage>();
40
services.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.