Search Results for

    Show / Hide Table of Contents

    Class SingletonCommandModule

    Represents a singleton command module. This type of module is instantiated only when created.

    Inheritance
    System.Object
    SingletonCommandModule
    Implements
    ICommandModule
    Namespace: DisCatSharp.CommandsNext.Entities
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public class SingletonCommandModule : ICommandModule

    Properties

    | Improve this Doc View Source

    Instance

    Gets this module's instance.

    Declaration
    public BaseCommandModule Instance { get; }
    Property Value
    Type Description
    BaseCommandModule
    | Improve this Doc View Source

    ModuleType

    Gets the type of this module.

    Declaration
    public Type ModuleType { get; }
    Property Value
    Type Description
    System.Type

    Methods

    | Improve this Doc View Source

    GetInstance(IServiceProvider)

    Returns the instance of this module.

    Declaration
    public BaseCommandModule GetInstance(IServiceProvider services)
    Parameters
    Type Name Description
    System.IServiceProvider services

    Services to instantiate the module with.

    Returns
    Type Description
    BaseCommandModule

    This module's instance.

    Implements

    ICommandModule

    Extension Methods

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