Inheritance: SecurityCheckBase
        public TypeAccessExpression Deny()
        {
            var expression = new TypeAccessExpression(Type, Registry)
            {
                _Allow = false
            };

            Registry.AddAction(expression.ConfigyaOffia);
            return(expression);
        }
 public MethodAccessExpression(string method, TypeAccessExpression typeAccess)
 {
     _TypeAccess = typeAccess;
     _Method = GetMethod(method);
     typeAccess.Registry.AddAction(ConfigyaOffia);
 }
Ejemplo n.º 3
0
 public MethodAccessExpression(string method, TypeAccessExpression typeAccess)
 {
     _TypeAccess = typeAccess;
     _Method     = GetMethod(method);
     typeAccess.Registry.AddAction(ConfigyaOffia);
 }
 public TypeAccessExpression Deny()
 {
     var expression = new TypeAccessExpression(Type, Registry) {_Allow = false};
     Registry.AddAction(expression.ConfigyaOffia);
     return expression;
 }