7 instantiations of AppHostLocalStateStore
Aspire.Hosting.Tests (7)
Dcp\AppHostLocalStateStoreTests.cs (6)
78
var stateStore = new
AppHostLocalStateStore
(configuration, NullLogger<AppHostLocalStateStore>.Instance);
105
var stateStore = new
AppHostLocalStateStore
(configuration, NullLogger<AppHostLocalStateStore>.Instance);
137
var stateStore = new
AppHostLocalStateStore
(configuration, NullLogger<AppHostLocalStateStore>.Instance);
149
var loggingStateStore = new
AppHostLocalStateStore
(
193
var stateStore = new
AppHostLocalStateStore
(
220
var stateStore = new
AppHostLocalStateStore
(configuration, NullLogger<AppHostLocalStateStore>.Instance);
Dcp\DcpExecutorTests.cs (1)
12067
var stateStore = new
AppHostLocalStateStore
(configuration, NullLogger<AppHostLocalStateStore>.Instance);
19 references to AppHostLocalStateStore
Aspire.Hosting (5)
ApplicationModel\AppHostLocalStateStore.cs (3)
20
private readonly ILogger<
AppHostLocalStateStore
> _logger;
27
public AppHostLocalStateStore(IConfiguration configuration, ILogger<
AppHostLocalStateStore
> logger)
34
ILogger<
AppHostLocalStateStore
> logger,
Dcp\PersistentPortAllocationStore.cs (1)
11
AppHostLocalStateStore
stateStore,
DistributedApplicationBuilder.cs (1)
613
_innerBuilder.Services.AddSingleton<
AppHostLocalStateStore
>();
Aspire.Hosting.Tests (14)
Dcp\AppHostLocalStateStoreTests.cs (12)
78
var
stateStore = new AppHostLocalStateStore(configuration, NullLogger<
AppHostLocalStateStore
>.Instance);
105
var
stateStore = new AppHostLocalStateStore(configuration, NullLogger<
AppHostLocalStateStore
>.Instance);
137
var
stateStore = new AppHostLocalStateStore(configuration, NullLogger<
AppHostLocalStateStore
>.Instance);
149
var
loggingStateStore = new AppHostLocalStateStore(
151
new TestLogger<
AppHostLocalStateStore
>(new TestLoggerFactory(sink, enabled: true)));
193
var
stateStore = new AppHostLocalStateStore(
195
new TestLogger<
AppHostLocalStateStore
>(new TestLoggerFactory(sink, enabled: true)),
220
var
stateStore = new AppHostLocalStateStore(configuration, NullLogger<
AppHostLocalStateStore
>.Instance);
Dcp\DcpExecutorTests.cs (2)
12067
var
stateStore = new AppHostLocalStateStore(configuration, NullLogger<
AppHostLocalStateStore
>.Instance);