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); }
public InterceptorCreator(IAspectConfiguration configuration) { IsNonAspectType = configuration.NonPredicates.BuildNonAspectTypePredicate(); IsNonAspectMethod = configuration.NonPredicates.BuildNonAspectMethodPredicate(); this.configuration = configuration; }