ServiceStack.RestrictExtensions.HasAnyRestrictionsOf C# (CSharp) Method

HasAnyRestrictionsOf() public static method

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