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