Table of Contents

Enum RoleCheckMode

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

Specifies how does RequireRolesAttribute check for roles.

public enum RoleCheckMode

Fields

Any = 0

Member is required to have any of the specified roles.

All = 1

Member is required to have all of the specified roles.

SpecifiedOnly = 2

Member is required to have exactly the same roles as specified; no extra roles may be present.

None = 3

Member is required to have none of the specified roles.