Show / Hide Table of Contents

    Class CommandPrefixAttribute

    Creates a prefix that will be prepended to all commands made within this class. Works recursively with sub-classes.

    Inheritance
    Object
    Attribute
    CommandPrefixAttribute
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
    public sealed class CommandPrefixAttribute : Attribute, _Attribute

    Constructors

    CommandPrefixAttribute(String)

    Declaration
    public CommandPrefixAttribute(string prefixName = "")
    Parameters
    Type Name Description
    String prefixName

    Fields

    Prefix

    Declaration
    public readonly string Prefix
    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