dimanche 14 octobre 2018

how we can intercept a constructor in .net core?

How can I intercept a constructor in .net core?

I know there are certain options available provided by Castle.DynamicProxy (type interception and interface interception), in my case, I can not use it, as I dont have much control over the code of the class to be intercepted so and I can not mention the properties or methods as virtual or interface to be inherited.





Aucun commentaire:

Enregistrer un commentaire