Search Results for

    Show / Hide Table of Contents

    Class ModuleLifespanAttribute

    Defines a lifespan for this command module.

    Inheritance
    System.Object
    System.Attribute
    ModuleLifespanAttribute
    Namespace: DisCatSharp.CommandsNext.Attributes
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    public class ModuleLifespanAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    ModuleLifespanAttribute(ModuleLifespan)

    Defines a lifespan for this command module.

    Declaration
    public ModuleLifespanAttribute(ModuleLifespan lifespan)
    Parameters
    Type Name Description
    ModuleLifespan lifespan

    Lifespan for this module.

    Properties

    | Improve this Doc View Source

    Lifespan

    Gets the lifespan defined for this module.

    Declaration
    public ModuleLifespan Lifespan { get; }
    Property Value
    Type Description
    ModuleLifespan

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems