1 write to State
Aspire.Hosting (1)
Dashboard\DashboardServiceData.cs (1)
49
State
= snapshot.State?.Text,
5 references to State
Aspire.Hosting (5)
Dashboard\DashboardServiceData.cs (1)
68
logger.LogDebug("Updating resource snapshot for {Name}/{DisplayName}: {State}", snapshot.Name, snapshot.DisplayName, snapshot.
State
);
Dashboard\proto\Partials.cs (1)
19
State = snapshot.
State
?? "",
Dashboard\ResourceSnapshot.cs (3)
44
yield return (KnownProperties.Resource.State,
State
is null ? Value.ForNull() : Value.ForString(
State
), IsSensitive: false);
49
yield return (KnownProperties.Resource.HealthState, CustomResourceSnapshot.ComputeHealthStatus(HealthReports,
State
) is not { } healthStatus ? Value.ForNull() : Value.ForString(healthStatus.ToString()), IsSensitive: false);