Search Results for

    Show / Hide Table of Contents

    Class BaseCommandModule

    Represents a base class for all command modules.

    Inheritance
    System.Object
    BaseCommandModule
    CommandsNextExtension.DefaultHelpModule
    Namespace: DisCatSharp.CommandsNext
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public abstract class BaseCommandModule

    Methods

    | Improve this Doc View Source

    AfterExecutionAsync(CommandContext)

    Called after a command in the implementing module is successfully executed.

    Declaration
    public virtual Task AfterExecutionAsync(CommandContext ctx)
    Parameters
    Type Name Description
    CommandContext ctx

    Context in which the method is being executed.

    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    BeforeExecutionAsync(CommandContext)

    Called before a command in the implementing module is executed.

    Declaration
    public virtual Task BeforeExecutionAsync(CommandContext ctx)
    Parameters
    Type Name Description
    CommandContext ctx

    Context in which the method is being executed.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Extension Methods

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