Class MenuItemCommand
Inheritance
MenuItemCommand
Assembly: LemonEdge.Client.UI.API.dll
Syntax
public record MenuItemCommand : IEquatable<MenuItemCommand>
Constructors
MenuItemCommand(IMenuItem, EPCommand?)
Declaration
public MenuItemCommand(IMenuItem MenuItem, EPCommand? Command)
Parameters
MenuItemCommand(MenuItemCommand)
Declaration
protected MenuItemCommand(MenuItemCommand original)
Parameters
Properties
Command
Declaration
public EPCommand? Command { get; init; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
MenuItem
Declaration
public IMenuItem MenuItem { get; init; }
Property Value
Methods
Deconstruct(out IMenuItem, out EPCommand?)
Declaration
public void Deconstruct(out IMenuItem MenuItem, out EPCommand? Command)
Parameters
Equals(MenuItemCommand?)
Declaration
public virtual bool Equals(MenuItemCommand? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
<Clone>$()
Declaration
public virtual MenuItemCommand <Clone>$()
Returns
Operators
operator ==(MenuItemCommand?, MenuItemCommand?)
Declaration
public static bool operator ==(MenuItemCommand? left, MenuItemCommand? right)
Parameters
Returns
operator !=(MenuItemCommand?, MenuItemCommand?)
Declaration
public static bool operator !=(MenuItemCommand? left, MenuItemCommand? right)
Parameters
Returns
Implements
Extension Methods