ServiceStack.RestrictExtensions.HasAnyRestrictionsOf C# (CSharp) Méthode

HasAnyRestrictionsOf() public static méthode

public static HasAnyRestrictionsOf ( RequestAttributes allRestrictions, RequestAttributes restrictions ) : bool
allRestrictions RequestAttributes
restrictions RequestAttributes
Résultat bool
        public static bool HasAnyRestrictionsOf(RequestAttributes allRestrictions, RequestAttributes restrictions)
        {
            return (allRestrictions & restrictions) != 0;
        }
    }