Class StartMenuAction
- Namespace
- SharpConsoleUI.Models
- Assembly
- SharpConsoleUI.dll
Represents a user-defined action in the Start menu.
public record StartMenuAction : IEquatable<StartMenuAction>
- Inheritance
-
StartMenuAction
- Implements
- Inherited Members
Constructors
StartMenuAction(string, Action, string?, int)
Represents a user-defined action in the Start menu.
public StartMenuAction(string Name, Action Callback, string? Category = null, int Order = 0)
Parameters
Properties
Callback
public Action Callback { get; init; }
Property Value
Category
public string? Category { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Order
public int Order { get; init; }