17 references to GetAllocations
Aspire.Hosting (1)
Dcp\PersistentPortAllocator.cs (1)
153
foreach (var allocation in _store.
GetAllocations
())
Aspire.Hosting.Tests (16)
Dcp\AppHostLocalStateStoreTests.cs (7)
30
var allocations = firstStore.
GetAllocations
();
56
Assert.Equal(12001, store.
GetAllocations
()[equivalentKey]);
60
var allocation = Assert.Single(store.
GetAllocations
());
156
Assert.Empty(loggingPortAllocationStore.
GetAllocations
());
173
Assert.Equal(12001, CreatePortAllocationStore(cliLaunchConfiguration).
GetAllocations
()[key]);
203
Assert.Empty(portAllocationStore.
GetAllocations
());
209
var allocations = CreatePortAllocationStore(configuration).
GetAllocations
();
Dcp\DcpExecutorTests.cs (9)
1725
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
1769
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
1965
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
2018
Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).
GetAllocations
()[portKey]);
2169
Assert.Equal(allocatedPort, store.
GetAllocations
()[portKey]);
2262
Assert.Empty(CreatePersistentPortAllocationStore(configuration).
GetAllocations
());
2308
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
2362
Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).
GetAllocations
()[portKey]);
2408
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();