Esempio n. 1
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();
        }
Esempio n. 2
0
 static void Main(string[] args)
 {
     DummyServiced ds = new DummyServiced();
     ds.Foo();
 }