ServiceStack.RestrictAttribute.HasAccessTo C# (CSharp) Méthode

HasAccessTo() public méthode

public HasAccessTo ( RequestAttributes restrictions ) : bool
restrictions RequestAttributes
Résultat bool
        public bool HasAccessTo(RequestAttributes restrictions)
        {
            return this.AccessibleToAny.Any(scenario => (restrictions & scenario) == restrictions);
        }