Share via


ResourceStateSnapshot Class

Definition

A snapshot of the resource state

public sealed class ResourceStateSnapshot : IEquatable<Aspire.Hosting.ApplicationModel.ResourceStateSnapshot>
type ResourceStateSnapshot = class
    interface IEquatable<ResourceStateSnapshot>
Public NotInheritable Class ResourceStateSnapshot
Implements IEquatable(Of ResourceStateSnapshot)
Inheritance
ResourceStateSnapshot
Implements

Constructors

ResourceStateSnapshot(String, String)

A snapshot of the resource state

Properties

Style

The style for the state update. Use for the supported styles.

Text

The text for the state update.

Methods

<Clone>$()
Deconstruct(String, String)
Equals(Object)
Equals(ResourceStateSnapshot)
GetHashCode()
ToString()

Operators

Equality(ResourceStateSnapshot, ResourceStateSnapshot)
Implicit(String to ResourceStateSnapshot)

Convert text to state snapshot. The style will be null by default

Inequality(ResourceStateSnapshot, ResourceStateSnapshot)

Applies to