コード例 #1
0
        public void Initialize()
        {
            AspectHelper.CodeGenerated += (sender, args) => Console.WriteLine(args.GeneratedCode);
            this.target = AspectHelper.Wrap <ITestContract>(new TestImplementation());

            TestResultBag.Nullify();
        }
コード例 #2
0
 public void Initialize()
 {
     AspectHelper.CodeGenerated += (sender, args) => Console.WriteLine(args.GeneratedCode);
     this.target = AspectHelper.Wrap <IModifierContract>(new ModifierImplementation());
 }