18 instantiations of ResourceStateSnapshot
Aspire.Hosting (2)
ApplicationModel\CustomResourceSnapshot.cs (1)
143s is null ? null : new(Text: s, Style: null);
ParameterResourceBuilderExtensions.cs (1)
182State = new ResourceStateSnapshot("Configuration missing", KnownResourceStateStyles.Error),
Aspire.Hosting.Azure (4)
Provisioning\Provisioners\AzureProvisioner.cs (4)
147State = new("Running", KnownResourceStateStyles.Success) 155State = new("Missing subscription configuration", KnownResourceStateStyles.Error) 163State = new("Failed to Provision", KnownResourceStateStyles.Error) 176State = new("Starting", KnownResourceStateStyles.Info)
Aspire.Hosting.Tests (11)
Dashboard\DashboardServiceTests.cs (1)
106return s with { State = new ResourceStateSnapshot("Starting", null) };
Health\ResourceHealthCheckServiceTests.cs (10)
31State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 39State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 65State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 73State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 194State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 226State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 290State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 335State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 388State = new ResourceStateSnapshot(KnownResourceStates.Running, null) 396State = new ResourceStateSnapshot(KnownResourceStates.Running, null)
CustomResources.AppHost (1)
TestResource.cs (1)
62State = new(randomState, randomStyle)
3 references to ResourceStateSnapshot
Aspire.Hosting (3)
ApplicationModel\CustomResourceSnapshot.cs (3)
17private readonly ResourceStateSnapshot? _state; 47public ResourceStateSnapshot? State 142public static implicit operator ResourceStateSnapshot?(string? s) =>