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