Skip to content
DocsTry Aspire
DocsTry

ResourceStateSnapshot Constructors

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