public void CallServicedComponentClass()
 {
     Engine e = new Engine("CallServicedComponentClass");
     IAroundInterceptor myInterceptor = new MyInterceptor();
     SignatureAspect sa = new SignatureAspect("labb", "*", "*", myInterceptor);
     e.Configuration.Aspects.Add(sa);
     DummyServiced proxy = e.CreateProxy<DummyServiced>();
     proxy.Foo();
 }
Beispiel #2
0
        public void CallServicedComponentClass()
        {
            Engine             e             = new Engine("CallServicedComponentClass");
            IAroundInterceptor myInterceptor = new MyInterceptor();
            SignatureAspect    sa            = new SignatureAspect("labb", "*", "*", myInterceptor);

            e.Configuration.Aspects.Add(sa);
            DummyServiced proxy = e.CreateProxy <DummyServiced>();

            proxy.Foo();
        }