ResourceStateSnapshot
Record sealed net10.0
A snapshot of the resource state
namespace Aspire.Hosting.ApplicationModel;
public sealed record ResourceStateSnapshot : System.IEquatable<Aspire.Hosting.ApplicationModel.ResourceStateSnapshot>{ // ...} IEquatable<ResourceStateSnapshot>
12 members
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesStyleget; initstring?The style for the state update. Use for the supported styles.
Textget; initstringThe text for the state update. See
KnownResourceStates for expected values.Methods9
Section titled Methods<Clone>$Deconstruct(string, string?)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(ResourceStateSnapshot?)boolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(ResourceStateSnapshot?, ResourceStateSnapshot?)staticboolop_Implicit(string?)static Convert text to state snapshot. The style will be null by default
op_Inequality(ResourceStateSnapshot?, ResourceStateSnapshot?)staticboolToStringstringReturns a string that represents the current object.