Method HasPermission
- Namespace
- DisCatSharp.Enums
- Assembly
- DisCatSharp.dll
HasPermission(Permissions, Permissions)
Calculates whether this permission set contains the given permission.
public static bool HasPermission(this Permissions p, Permissions permission)
Parameters
p
PermissionsThe permissions to calculate from.
permission
PermissionsThe permission you want to check.