Show / Hide Table of Contents

    Class CommandDescriptionAttribute

    Provides a command with a description. If the [Command] attribute already provides a description, that will supersede this one. Useful for when you have several [Command]s on a single method.

    Inheritance
    Object
    Attribute
    CommandDescriptionAttribute
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class CommandDescriptionAttribute : Attribute, _Attribute

    Constructors

    CommandDescriptionAttribute(String)

    Declaration
    public CommandDescriptionAttribute(string description)
    Parameters
    Type Name Description
    String description

    Fields

    Description

    Declaration
    public readonly string Description
    Field Value
    Type Description
    String

    Valid

    Declaration
    public readonly bool Valid
    Field Value
    Type Description
    Boolean

    Extension Methods

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