M_WolfCurses_Menu_MenuChoice_1__ctor - Maxwolf/WolfCurses GitHub Wiki

MenuChoice(T) Constructor

Initializes a new instance of the MenuChoice(T) class.

Namespace: WolfCurses.Menu
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public MenuChoice(
	T command,
	Action action,
	string description
)

Parameters

 

command
Type: T
The command.
action
Type: System.Action
The action.
description
Type: System.String
The description.

Exceptions

 

Exception Condition
InvalidCastException

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

MenuChoice(T) Class
WolfCurses.Menu Namespace

⚠️ **GitHub.com Fallback** ⚠️