A result containing parameters for command response

Hierarchy

  • ParameterSetType<Result>
    • Result

Constructors

Properties

Methods

Constructors

Properties

paramSet: Parameter<Key>[] = []

an optional set of parameters

Methods

  • Adds several parameters to the parameter set

    Type Parameters

    Parameters

    • parametersToAdd: P[]

      the list of parameters to add to the parameter set

    Returns Result

    a new instance of this parameter set with the given parameter added

    madd ensures check for duplicate key

    P must be a subclass of Parameter

  • The number of parameters in this parameter set

    Returns number

    the number of parameters in the parameter set