castle-dynamicproxy
Castle Windsor proxies, implicit interfaces and WPF Binding
I am attempting to implement a WPF ViewModel using Castle Windsor Dynamic Proxies.The idea is that I want to supply an interface (IPerson below should suffice as an example), a concrete backing class,[详细]
2023-03-03 18:57 分类:问答Selecting an interceptor based on a facility created ILogger
I have two types of interceptors: LoggingWithDebugInterceptor and LoggingInterceptor. I am using the Castle Logging Facility and I am wondering how to write a selector that registers an interceptor on[详细]
2023-03-01 04:23 分类:问答AOP Separating Cross-cutting Concerns
I\'m trying to start taking advantage of Aspect-Oriented programming for repetitive tasks.I\'m not sure how to go about separating concerns.I\'m using C# and for A开发者_高级运维OP I\'m using Castle.D[详细]
2023-02-22 21:29 分类:问答Ninject: Possible to use injection constructor when type is being proxied for AoP?
I\'m doing a project ground up using Ninject 2 and one question bugs me: If you are to intercept methods 开发者_运维问答on your type, you need to wrap it into proxy (castle dynamic proxy to be specif[详细]
2023-02-18 21:26 分类:问答Autofac: Tips for increasing performance when using DynamicProxy?
I just start using DynamicProxy2 today. And found it caused significant performance drop. See the code below. Test1 is 10 times slower than Test2.[详细]
2023-02-15 18:51 分类:问答Trying to make a Logging Interceptor for StructureMap using DynamicProxy
I\'m trying to log calls from the UI (DNN module) to some of various services it uses, in a effort to profile how people are interacting with the site. I\'m using StructureMap 2.5.3.0 and Log4Net[详细]
2023-02-08 20:03 分类:问答Castle Windsor Interceptor w/o Interface?
Using Castle Windsor for DI, I\'ve two classes that implement the same interface; and besides that have some methods and properties of their own. I\'m using Castle DynamicProxy and created an Intercep[详细]
2023-02-07 17:32 分类:问答Castle Windsor Interceptor selectors and hooks
I\'m doing some project in Castle Windsor and I have some problems with interceptor hook in config file[详细]
2023-01-28 07:13 分类:问答Easiest way to check if method is auto-implemented by Castle DynamicProxy
I\'m looking for the easiest way to check if a开发者_C百科 method on my proxy has been auto-implemented by DynamicProxy. That is, let\'s say when registering my component, I added some AdditionalInter[详细]
2023-01-27 03:19 分类:问答How can multiple interfaces with multiple classes be merged using DynamicProxy?
Suppose we have an interface ICat that is derived from ICatBase and ICatExtension as shown below. For both distinct interfaces, an implementation is available, CatBase and CatExtension. How can Castle[详细]
2023-01-26 05:50 分类:问答