Show / Hide Table of Contents

    Class CommandData

    Contains the full data about a command and provides an execution point for invoking the command.

    Inheritance
    Object
    CommandData
    LambdaCommandData
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    public class CommandData

    Constructors

    CommandData(MethodInfo, CommandAttribute, CommandDescriptionAttribute, Int32)

    Declaration
    public CommandData(MethodInfo methodData, CommandAttribute commandAttribute, CommandDescriptionAttribute descriptionAttribute, int defaultParameterCount = 0)
    Parameters
    Type Name Description
    MethodInfo methodData
    CommandAttribute commandAttribute
    CommandDescriptionAttribute descriptionAttribute
    Int32 defaultParameterCount

    CommandData(MethodInfo, CommandAttribute, Int32)

    Declaration
    public CommandData(MethodInfo methodData, CommandAttribute commandAttribute, int defaultParameterCount = 0)
    Parameters
    Type Name Description
    MethodInfo methodData
    CommandAttribute commandAttribute
    Int32 defaultParameterCount

    CommandData(MethodInfo, MonoTargetType, Int32)

    Declaration
    public CommandData(MethodInfo methodData, MonoTargetType monoTarget, int defaultParameterCount = 0)
    Parameters
    Type Name Description
    MethodInfo methodData
    MonoTargetType monoTarget
    Int32 defaultParameterCount

    CommandData(MethodInfo, String, MonoTargetType, Int32)

    Declaration
    public CommandData(MethodInfo methodData, string commandName, MonoTargetType monoTarget, int defaultParameterCount = 0)
    Parameters
    Type Name Description
    MethodInfo methodData
    String commandName
    MonoTargetType monoTarget
    Int32 defaultParameterCount

    Fields

    CommandDescription

    Declaration
    public readonly string CommandDescription
    Field Value
    Type Description
    String

    CommandName

    Declaration
    public readonly string CommandName
    Field Value
    Type Description
    String

    CommandSignature

    Declaration
    public readonly string CommandSignature
    Field Value
    Type Description
    String

    GenericParamTypes

    Declaration
    public readonly Type[] GenericParamTypes
    Field Value
    Type Description
    Type[]

    GenericSignature

    Declaration
    public readonly string GenericSignature
    Field Value
    Type Description
    String

    HasParamsArgument

    Declaration
    public readonly bool HasParamsArgument
    Field Value
    Type Description
    Boolean

    MethodData

    Declaration
    public readonly MethodInfo MethodData
    Field Value
    Type Description
    MethodInfo

    MethodParamData

    Declaration
    public readonly ParameterInfo[] MethodParamData
    Field Value
    Type Description
    ParameterInfo[]

    MonoTarget

    Declaration
    public readonly MonoTargetType MonoTarget
    Field Value
    Type Description
    MonoTargetType

    ParameterSignature

    Declaration
    public readonly string ParameterSignature
    Field Value
    Type Description
    String

    ParamTypes

    Declaration
    public readonly Type[] ParamTypes
    Field Value
    Type Description
    Type[]

    Properties

    HasDescription

    Declaration
    public bool HasDescription { get; }
    Property Value
    Type Description
    Boolean

    IsGeneric

    Declaration
    public bool IsGeneric { get; }
    Property Value
    Type Description
    Boolean

    IsStatic

    Declaration
    public bool IsStatic { get; }
    Property Value
    Type Description
    Boolean

    ParamCount

    Declaration
    public int ParamCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    GetInvocationTargets(MethodInfo)

    Declaration
    protected virtual IEnumerable<object> GetInvocationTargets(MethodInfo invokingMethod)
    Parameters
    Type Name Description
    MethodInfo invokingMethod
    Returns
    Type Description
    IEnumerable<Object>

    Invoke(Object[], Type[])

    Declaration
    public object Invoke(object[] paramData, Type[] genericTypeArguments)
    Parameters
    Type Name Description
    Object[] paramData
    Type[] genericTypeArguments
    Returns
    Type Description
    Object

    MakeGenericArguments(Type[])

    Declaration
    public Type[] MakeGenericArguments(params Type[] genericTypeArguments)
    Parameters
    Type Name Description
    Type[] genericTypeArguments
    Returns
    Type Description
    Type[]

    Extension Methods

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