Exemple #1
0
        public DefaultNonAspectTest()
        {
            var c = new AspectConfiguration();

            defaultTypePredicate   = c.NonPredicates.BuildNonAspectTypePredicate();
            defaultMethodPredicate = c.NonPredicates.BuildNonAspectMethodPredicate();
        }
 public static AspectPredicateCollection AddMethod(this AspectPredicateCollection collection, AspectMethodPredicate predicate)
 {
     collection.MethodPredicates.Add(predicate);
     return(collection);
 }
 public InterceptorCreator(IAspectConfiguration configuration)
 {
     IsNonAspectType    = configuration.NonPredicates.BuildNonAspectTypePredicate();
     IsNonAspectMethod  = configuration.NonPredicates.BuildNonAspectMethodPredicate();
     this.configuration = configuration;
 }