public GetterGenerator(object instance, BindingRestrictions rule, IEnumerable aspects, PropertyInfo property) 
 {
     _rule = rule;
     _args = new PropertyInterceptionArgs(instance, property, null);
     _aspects = GenerateAspectCalls(aspects, _args);
 }
Exemple #2
0
 public GetterGenerator(object instance, BindingRestrictions rule, IEnumerable aspects, PropertyInfo property)
 {
     _rule    = rule;
     _args    = new PropertyInterceptionArgs(instance, property, null);
     _aspects = GenerateAspectCalls(aspects, _args);
 }