Search Results for

    Show / Hide Table of Contents

    Class SelectionStyle

    Selection style for input module

    Inheritance
    object
    SelectionStyle
    Namespace: Terminaux.Inputs.Styles.Selection
    Assembly: Terminaux.dll
    Syntax
    public static class SelectionStyle

    Methods

    | Edit this page View Source

    PromptSelection(string, (string, string)[], bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    (string, string)[] Answers

    Set of answers.

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, (string, string)[], (string, string)[], bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, (string, string)[] AlternateAnswers, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    (string, string)[] Answers

    Set of answers.

    (string, string)[] AlternateAnswers

    Set of alternate answers.

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, (string, string)[], (string, string)[], SelectionStyleSettings, bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, (string, string)[] AlternateAnswers, SelectionStyleSettings settings, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    (string, string)[] Answers

    Set of answers.

    (string, string)[] AlternateAnswers

    Set of alternate answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, (string, string)[], SelectionStyleSettings, bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, SelectionStyleSettings settings, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    (string, string)[] Answers

    Set of answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceCategoryInfo[], bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answer categories.

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceCategoryInfo[], InputChoiceCategoryInfo[], bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, InputChoiceCategoryInfo[] AltAnswers, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answer categories.

    InputChoiceCategoryInfo[] AltAnswers

    Set of alternate answer categories.

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceCategoryInfo[], InputChoiceCategoryInfo[], SelectionStyleSettings, bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, InputChoiceCategoryInfo[] AltAnswers, SelectionStyleSettings settings, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answer categories.

    InputChoiceCategoryInfo[] AltAnswers

    Set of alternate answer categories.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceCategoryInfo[], SelectionStyleSettings, bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, SelectionStyleSettings settings, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answer categories.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceInfo[], bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceInfo[], InputChoiceInfo[], bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, InputChoiceInfo[] AltAnswers, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    InputChoiceInfo[] AltAnswers

    Set of alternate answers.

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceInfo[], InputChoiceInfo[], SelectionStyleSettings, bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, InputChoiceInfo[] AltAnswers, SelectionStyleSettings settings, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    InputChoiceInfo[] AltAnswers

    Set of alternate answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

    | Edit this page View Source

    PromptSelection(string, InputChoiceInfo[], SelectionStyleSettings, bool)

    Prompts user for selection

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, SelectionStyleSettings settings, bool kiosk = false)
    Parameters
    Type Name Description
    string Question

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    Returns
    Type Description
    int

    A one-based selection choice number, or -1 if the user has cancelled the input

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