Table of Contents

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

Name string
Callback Action
Category string
Order int

Properties

Callback

public Action Callback { get; init; }

Property Value

Action

Category

public string? Category { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

Order

public int Order { get; init; }

Property Value

int