Search Results for

    Show / Hide Table of Contents

    Class TransientCommandModule

    Represents a transient command module. This type of module is reinstantiated on every command call.

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

    Properties

    | 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)

    Creates a new 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

    Created module.

    Implements

    ICommandModule

    Extension Methods

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