Show / Hide Table of Contents

    Class ReadValue<T>

    Gets the next line of text entered into the console as a user response and parses it to a value of the specified type.

    Inheritance
    Object
    Composite
    ReadValue<T>
    Implements
    ICommandAction
    Inherited Members
    Composite.IsFinished
    Composite.StartsIdle
    Composite.Start(ActionContext)
    Composite.Finalize(ActionContext)
    Namespace: QFSW.QC.Actions
    Assembly: QFSW.QC.dll
    Syntax
    public class ReadValue<T> : Composite, ICommandAction
    Type Parameters
    Name Description
    T

    Constructors

    ReadValue(Action<T>)

    Declaration
    public ReadValue(Action<T> getValue)
    Parameters
    Type Name Description
    Action<T> getValue

    A delegate which returns the parsed value entered by the user.

    ReadValue(Action<T>, ResponseConfig)

    Declaration
    public ReadValue(Action<T> getValue, ResponseConfig config)
    Parameters
    Type Name Description
    Action<T> getValue

    A delegate which returns the parsed value entered by the user.

    ResponseConfig config

    The config to provide the response flow with.

    Implements

    ICommandAction

    Extension Methods

    ArraySingleExtensions.AsArraySingle<T>(T)
    CollectionExtensions.Yield<T>(T)
    Quantum Console by QFSW
    Back to top