Esempio n. 1
0
        public DefaultNonAspectTest()
        {
            var c = new AspectConfiguration();

            defaultTypePredicate   = c.NonPredicates.BuildNonAspectTypePredicate();
            defaultMethodPredicate = c.NonPredicates.BuildNonAspectMethodPredicate();
        }
 public static NonAspectPredicateCollection AddMethod(this NonAspectPredicateCollection collection, NonAspectMethodPredicate predicate)
 {
     collection.MethodPredicates.Add(predicate);
     return(collection);
 }
Esempio n. 3
0
 public InterceptorCreator(IAspectConfiguration configuration)
 {
     IsNonAspectType    = configuration.NonPredicates.BuildNonAspectTypePredicate();
     IsNonAspectMethod  = configuration.NonPredicates.BuildNonAspectMethodPredicate();
     this.configuration = configuration;
 }