Table of Contents

Class AllowedProcessorsAttribute<T1, T2, T3, T4>

Namespace
DSharpPlus.Commands.Trees.Metadata
Assembly
DSharpPlus.Commands.dll

Allows to restrict commands to certain processors.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public class AllowedProcessorsAttribute<T1, T2, T3, T4> : AllowedProcessorsAttribute where T1 : ICommandProcessor where T2 : ICommandProcessor where T3 : ICommandProcessor where T4 : ICommandProcessor

Type Parameters

T1
T2
T3
T4
Inheritance
object
Attribute
AllowedProcessorsAttribute<T1, T2, T3, T4>
Inherited Members

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute()