public void Initialize() { SimpleAspectAttribute.Reset(); var aspectedObj = new AspectedClass(); var noAspectObject = new NoAspectClass(); _aspectedObject = Interceptor.GetInterceptedObject <IAspectedOps>(aspectedObj, null); _noAspectObject = Interceptor.GetInterceptedObject <IAspectedOps>(noAspectObject, null); }
public void Initialize() { SimpleAspectAttribute.Reset(); var aspectedObj = new AspectedClass(); var noAspectObject = new NoAspectClass(); _aspectedObject = Interceptor.GetInterceptedObject<IAspectedOps>(aspectedObj, null); _noAspectObject = Interceptor.GetInterceptedObject<IAspectedOps>(noAspectObject, null); }