3 writes to IsAllocated
Aspire.Hosting (3)
ApplicationModel\ResolvedPort.cs (3)
34
public static ResolvedPort Explicit(int port) => new() { Value = port,
IsAllocated
= false };
41
public static ResolvedPort Allocated(int port) => new() { Value = port,
IsAllocated
= true };
54
public static ResolvedPort None() => new() { Value = null,
IsAllocated
= false };
1 reference to IsAllocated
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentContext.cs (1)
55
var exposedPort = (resolved.ExposedPort.
IsAllocated
|| resolved.ExposedPort.IsImplicit) ? null : resolved.ExposedPort.Value;