4 references to TryReservePort
Aspire.Hosting (1)
Dcp\PersistentPortAllocator.cs (1)
190
return _allocator.
TryReservePort
(
Aspire.Hosting.Tests (3)
Dcp\ProxylessEndpointPortAllocatorTests.cs (3)
118
Assert.True(allocator.
TryReservePort
(10000, ProtocolType.Tcp));
132
Assert.False(allocator.
TryReservePort
(10000, ProtocolType.Tcp));
147
Assert.True(allocator.
TryReservePort
(10001, ProtocolType.Tcp));