Struct CommandTag
Represents a key-value metadata tag attached to a command. Used to store custom command metadata like permissions, categories, etc.
public readonly struct CommandTag : IEquatable<CommandTag>
- Implements
- Inherited Members
Constructors
CommandTag(string, string)
Represents a key-value metadata tag attached to a command. Used to store custom command metadata like permissions, categories, etc.
public CommandTag(string Key, string Value)
Parameters
Properties
Key
public string Key { get; init; }
Property Value
Value
public string Value { get; init; }
Property Value
Methods
Deconstruct(out string, out string)
public void Deconstruct(out string Key, out string Value)
Parameters
Equals(CommandTag)
public bool Equals(CommandTag other)
Parameters
otherCommandTag
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CommandTag, CommandTag)
public static bool operator ==(CommandTag left, CommandTag right)
Parameters
leftCommandTagrightCommandTag
Returns
operator !=(CommandTag, CommandTag)
public static bool operator !=(CommandTag left, CommandTag right)
Parameters
leftCommandTagrightCommandTag