Skip to content
Docs Try Aspire

ResourceStateSnapshot Constructors

Record Constructors 1 member
A snapshot of the resource state
A snapshot of the resource state
public record ResourceStateSnapshot
{
public ResourceStateSnapshot(
string Text,
string? Style)
{
// ...
}
}
Text string The text for the state update. See KnownResourceStates for expected values.
Style string? The style for the state update. Use for the supported styles.