Search Results for

    Show / Hide Table of Contents

    Enum RoleCheckMode

    Specifies how does RequireRolesAttribute check for roles.

    Namespace: DisCatSharp.CommandsNext.Attributes
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public enum RoleCheckMode

    Fields

    Name Description
    All

    Member is required to have all of the specified roles.

    Any

    Member is required to have any of the specified roles.

    None

    Member is required to have none of the specified roles.

    SpecifiedOnly

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

    Extension Methods

    ReflectionUtilities.ToDictionary<RoleCheckMode>()
    ExtensionMethods.GetName<RoleCheckMode>()
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems