interception
interception copied to clipboard
Unity.Interception package
I've noticed some recent activity on these repos so I'm going to shoot my shot. I am upgrading some code (that's an understatement) from Unity 3 to Unity 5 and...
These methods are deprecated: ```c# public Interception SetInterceptorFor(Type typeToIntercept, string? name, ITypeInterceptor interceptor) public Interception SetInterceptorFor(Type typeToIntercept, string? name, IInstanceInterceptor interceptor) ```
Type `NamedTypeBuildKey` is being replaced with struct `Contract`
@kostemar Wrote: I ran into a problem with the Unity.Interception extension (using Unity v4.0.1 and Unity.Interception v4.0.1) and VirtualMethodInterception. Since the issue is a bit difficult to explain, I attached...
ICallHandler did not intercept class with HandlerAttribute after upgrading from Unity 4 to Unity 5
Hi, I am trying to update the Unity from 4.0 to 5.10, and my logging interceptor did not work, can somebody give me some idea? Thanks. My Container setup/ ```c#...
1. Prepare some class and its interface. 2. Manually create an instance of that class and register it using `RegisterInstance` method. 3. Set transparent proxy interceptor for the interface. 4....
Hi, Since the InjectionFactory is deprecated, I am trying to use the RegisterFactory method. I have registrations which use a factory and also have interceptor(s): ``` Func factoryFunc = c...
### Description When configuring an interception policy that uses a `CallHandler` which it depends upon injection of other services registered in the container, the lifetime is ignored and the same...
We are attempting to upgrade from Unity 2x to Unity 5.8.11. Everything appears to be working except that the memory allocated for CallHandlers associated with a class that uses a...
My usecase is that I'm trying to implement entry/exit/exception logging on an async method. I an IInterceptionBehavoiur implementation, the call to getNext()(...) is performed asynchronously and I don't get to...