ResourceCommandSnapshot Methods
RecordMethods8 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
NamestringStateResourceCommandStateDisplayNamestringDisplayDescriptionstring?Parameterobject?ConfirmationMessagestring?IconNamestring?IconVariantIconVariant?IsHighlightedboolDetermines whether the specified object is equal to the current object.
public record ResourceCommandSnapshot{ public override bool Equals( object? obj) { // ... }}Parameters
objobject?The object to compare with the current object.Returns
booltrue 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
otherResourceCommandSnapshot?An object to compare with this object.Returns
booltrue 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
intA hash code for the current object.op_Equality(ResourceCommandSnapshot?, ResourceCommandSnapshot?)Section titled op_Equality(ResourceCommandSnapshot?, ResourceCommandSnapshot?)staticboolpublic record ResourceCommandSnapshot{ public static bool operator ==( ResourceCommandSnapshot? left, ResourceCommandSnapshot? right) { // ... }}Parameters
op_Inequality(ResourceCommandSnapshot?, ResourceCommandSnapshot?)Section titled op_Inequality(ResourceCommandSnapshot?, ResourceCommandSnapshot?)staticboolpublic record ResourceCommandSnapshot{ public static bool operator !=( ResourceCommandSnapshot? left, ResourceCommandSnapshot? right) { // ... }}Parameters
Returns a string that represents the current object.
public record ResourceCommandSnapshot{ public override string ToString() { // ... }}Returns
stringA string that represents the current object.