Search Results for

    Show / Hide Table of Contents

    Class ComponentInteractionModule

    The base that should be used for all component modules.

    Inheritance
    System.Object
    InteractionModuleBase
    ComponentInteractionModule
    Implements
    IComponentInteractionModule
    Inherited Members
    InteractionModuleBase.FromSuccess(IDiscordInteractionResponse)
    InteractionModuleBase.FromSuccess(String, Boolean)
    InteractionModuleBase.FromSuccess(IDiscordEmbed, Boolean)
    InteractionModuleBase.FromError(ErrorResult)
    InteractionModuleBase.FromError(String)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Commands.Modules
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public class ComponentInteractionModule : InteractionModuleBase, IComponentInteractionModule

    Properties

    | Improve this Doc View Source

    Context

    The current context the component interaction.

    Declaration
    protected IComponentContext Context { get; set; }
    Property Value
    Type Description
    IComponentContext

    Methods

    | Improve this Doc View Source

    SetContext(IComponentContext)

    Set the current IComponentContext for a component.

    Declaration
    public void SetContext(IComponentContext context)
    Parameters
    Type Name Description
    IComponentContext context

    The new IComponentContext.

    Exceptions
    Type Condition
    System.ArgumentNullException

    When the given context was null.

    Implements

    IComponentInteractionModule
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX