Table of Contents

Class AllowedProcessorsAttribute<T1, T2, T3, T4, T5>

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, T5> : AllowedProcessorsAttribute where T1 : ICommandProcessor where T2 : ICommandProcessor where T3 : ICommandProcessor where T4 : ICommandProcessor where T5 : ICommandProcessor

Type Parameters

T1
T2
T3
T4
T5
Inheritance
AllowedProcessorsAttribute<T1, T2, T3, T4, T5>
Inherited Members

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute()