Table of Contents

Class CheckBaseAttribute

Namespace
DisCatSharp.CommandsNext.Attributes
Assembly
DisCatSharp.CommandsNext.dll

Represents a base for all command pre-execution check attributes.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true)]
public abstract class CheckBaseAttribute : Attribute
Inheritance
CheckBaseAttribute
Derived
Inherited Members

Methods

ExecuteCheckAsync(CommandContext, bool)

Asynchronously checks whether this command can be executed within given context.