public bool HasAnyPermission(PermissionsA a, PermissionsB b) { return(HasAnyPermission(a) || HasAnyPermission(b)); }
public bool HasEachPermission(PermissionsA a, PermissionsB b) { return(HasEachPermission(a) && HasEachPermission(b)); }
public bool HasAnyPermission(PermissionsA a) { return((PermissionsA & a) != 0x0); }
public bool HasEachPermission(PermissionsA a) { return((PermissionsA & a) == a); }