ResourceCommandSnapshot Methods
Record Methods 8 members
A snapshot of a resource command.
public record ResourceCommandSnapshot{ public ResourceCommandSnapshot <Clone>$() { // ... }}Deconstruct(string, ResourceCommandState, string, string?, object?, string?, string?, IconVariant?, bool) Section titled Deconstruct(string, ResourceCommandState, string, string?, object?, string?, string?, IconVariant?, bool) public record ResourceCommandSnapshot{ public void Deconstruct( out string Name, out ResourceCommandState State, out string DisplayName, out string? DisplayDescription, out object? Parameter, out string? ConfirmationMessage, out string? IconName, out IconVariant? IconVariant, out bool IsHighlighted) { // ... }}Parameters
Name string State ResourceCommandState DisplayName string DisplayDescription string? Parameter object? ConfirmationMessage string? IconName string? IconVariant IconVariant? IsHighlighted bool Determines whether the specified object is equal to the current object.
public record ResourceCommandSnapshot{ public override bool Equals( object? obj) { // ... }}Parameters
obj object? The object to compare with the current object. Returns
bool true if the specified object is equal to the current object; otherwise, false. Indicates whether the current object is equal to another object of the same type.
public record ResourceCommandSnapshot{ public bool Equals( ResourceCommandSnapshot? other) { // ... }}Parameters
other ResourceCommandSnapshot? An object to compare with this object. Returns
bool true if the current object is equal to the other parameter; otherwise, false. Serves as the default hash function.
public record ResourceCommandSnapshot{ public override int GetHashCode() { // ... }}Returns
int A hash code for the current object. op_Equality(ResourceCommandSnapshot?, ResourceCommandSnapshot?) Section titled op_Equality(ResourceCommandSnapshot?, ResourceCommandSnapshot?) static bool public record ResourceCommandSnapshot{ public static bool operator ==( ResourceCommandSnapshot? left, ResourceCommandSnapshot? right) { // ... }}Parameters
right ResourceCommandSnapshot? op_Inequality(ResourceCommandSnapshot?, ResourceCommandSnapshot?) Section titled op_Inequality(ResourceCommandSnapshot?, ResourceCommandSnapshot?) static bool public record ResourceCommandSnapshot{ public static bool operator !=( ResourceCommandSnapshot? left, ResourceCommandSnapshot? right) { // ... }}Parameters
right ResourceCommandSnapshot? Returns a string that represents the current object.
public record ResourceCommandSnapshot{ public override string ToString() { // ... }}Returns
string A string that represents the current object.