Search Results for

    Show / Hide Table of Contents

    Class InteractiveTuiBinding<T>

    Interactive TUI binding information class

    Inheritance
    object
    Keybinding
    InteractiveTuiBinding<T, T>
    InteractiveTuiBinding<T>
    Inherited Members
    InteractiveTuiBinding<T, T>.BindingCanRunWithoutItems
    InteractiveTuiBinding<T, T>.BindingAction
    InteractiveTuiBinding<T, T>.Equals(object)
    InteractiveTuiBinding<T, T>.Equals(InteractiveTuiBinding<T, T>)
    InteractiveTuiBinding<T, T>.GetHashCode()
    Keybinding.BindingName
    Keybinding.BindingUsesMouse
    Keybinding.BindingHidden
    Keybinding.BindingKeyName
    Keybinding.BindingKeyModifiers
    Keybinding.BindingPointerButton
    Keybinding.BindingPointerButtonPress
    Keybinding.BindingPointerModifiers
    Namespace: Terminaux.Inputs.Interactive
    Assembly: Terminaux.dll
    Syntax
    public class InteractiveTuiBinding<T> : InteractiveTuiBinding<T, T>
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    InteractiveTuiBinding(string, ConsoleKey, Action<T?, int, T?, int>?, bool)

    Makes a new instance of an interactive TUI key binding

    Declaration
    public InteractiveTuiBinding(string bindingName, ConsoleKey bindingKeyName, Action<T?, int, T?, int>? bindingAction, bool canRunWithoutItems = false)
    Parameters
    Type Name Description
    string bindingName

    Key binding name

    ConsoleKey bindingKeyName

    Which key is bound to the action?

    Action<T, int, T, int> bindingAction

    The action to execute. The object argument denotes the currently selected item, and the integer argument denotes the currently selected data

    bool canRunWithoutItems

    Whether the binding can run without items or not

    | Edit this page View Source

    InteractiveTuiBinding(string, ConsoleKey, ConsoleModifiers, Action<T?, int, T?, int>?, bool)

    Makes a new instance of an interactive TUI key binding

    Declaration
    public InteractiveTuiBinding(string bindingName, ConsoleKey bindingKeyName, ConsoleModifiers bindingKeyModifiers, Action<T?, int, T?, int>? bindingAction, bool canRunWithoutItems = false)
    Parameters
    Type Name Description
    string bindingName

    Key binding name

    ConsoleKey bindingKeyName

    Which key is bound to the action?

    ConsoleModifiers bindingKeyModifiers

    Which modifiers of the key is bound to the action?

    Action<T, int, T, int> bindingAction

    The action to execute. The object argument denotes the currently selected item, and the integer argument denotes the currently selected data

    bool canRunWithoutItems

    Whether the binding can run without items or not

    | Edit this page View Source

    InteractiveTuiBinding(string, PointerButton, Action<T?, int, T?, int>?, bool)

    Makes a new instance of an interactive TUI mouse pointer binding

    Declaration
    public InteractiveTuiBinding(string bindingName, PointerButton bindingPointerButton, Action<T?, int, T?, int>? bindingAction, bool canRunWithoutItems = false)
    Parameters
    Type Name Description
    string bindingName

    Key binding name

    PointerButton bindingPointerButton

    Which key is bound to the action?

    Action<T, int, T, int> bindingAction

    The action to execute. The object argument denotes the currently selected item, and the integer argument denotes the currently selected data

    bool canRunWithoutItems

    Whether the binding can run without items or not

    | Edit this page View Source

    InteractiveTuiBinding(string, PointerButton, PointerButtonPress, Action<T?, int, T?, int>?, bool)

    Makes a new instance of an interactive TUI mouse pointer binding

    Declaration
    public InteractiveTuiBinding(string bindingName, PointerButton bindingPointerButton, PointerButtonPress bindingPointerButtonPress, Action<T?, int, T?, int>? bindingAction, bool canRunWithoutItems = false)
    Parameters
    Type Name Description
    string bindingName

    Key binding name

    PointerButton bindingPointerButton

    Which button is bound to the action?

    PointerButtonPress bindingPointerButtonPress

    Which press mode of the button is bound to the action?

    Action<T, int, T, int> bindingAction

    The action to execute. The object argument denotes the currently selected item, and the integer argument denotes the currently selected data

    bool canRunWithoutItems

    Whether the binding can run without items or not

    | Edit this page View Source

    InteractiveTuiBinding(string, PointerButton, PointerButtonPress, PointerModifiers, Action<T?, int, T?, int>?, bool)

    Makes a new instance of an interactive TUI mouse pointer binding

    Declaration
    public InteractiveTuiBinding(string bindingName, PointerButton bindingPointerButton, PointerButtonPress bindingPointerButtonPress, PointerModifiers bindingButtonModifiers, Action<T?, int, T?, int>? bindingAction, bool canRunWithoutItems = false)
    Parameters
    Type Name Description
    string bindingName

    Key binding name

    PointerButton bindingPointerButton

    Which button is bound to the action?

    PointerButtonPress bindingPointerButtonPress

    Which press mode of the button is bound to the action?

    PointerModifiers bindingButtonModifiers

    Which modifiers of the button is bound to the action?

    Action<T, int, T, int> bindingAction

    The action to execute. The object argument denotes the currently selected item, and the integer argument denotes the currently selected data

    bool canRunWithoutItems

    Whether the binding can run without items or not

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX