17 references to GetAllocations
Aspire.Hosting (1)
Dcp\PersistentPortAllocator.cs (1)
153foreach (var allocation in _store.GetAllocations())
Aspire.Hosting.Tests (16)
Dcp\AppHostLocalStateStoreTests.cs (7)
30var allocations = firstStore.GetAllocations(); 56Assert.Equal(12001, store.GetAllocations()[equivalentKey]); 60var allocation = Assert.Single(store.GetAllocations()); 156Assert.Empty(loggingPortAllocationStore.GetAllocations()); 173Assert.Equal(12001, CreatePortAllocationStore(cliLaunchConfiguration).GetAllocations()[key]); 203Assert.Empty(portAllocationStore.GetAllocations()); 209var allocations = CreatePortAllocationStore(configuration).GetAllocations();
Dcp\DcpExecutorTests.cs (9)
1655var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 1699var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 1895var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 1948Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).GetAllocations()[portKey]); 2099Assert.Equal(allocatedPort, store.GetAllocations()[portKey]); 2192Assert.Empty(CreatePersistentPortAllocationStore(configuration).GetAllocations()); 2238var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 2292Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).GetAllocations()[portKey]); 2338var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations();