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