コード例 #1
0
ファイル: GetterGenerator.cs プロジェクト: night-king/KingAOP
 public GetterGenerator(object instance, BindingRestrictions rule, IEnumerable aspects, PropertyInfo property) 
 {
     _rule = rule;
     _args = new PropertyInterceptionArgs(instance, property, null);
     _aspects = GenerateAspectCalls(aspects, _args);
 }
コード例 #2
0
 public GetterGenerator(object instance, BindingRestrictions rule, IEnumerable aspects, PropertyInfo property)
 {
     _rule    = rule;
     _args    = new PropertyInterceptionArgs(instance, property, null);
     _aspects = GenerateAspectCalls(aspects, _args);
 }