I completely missed that overload... thanks. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Krzysztof Kozmic Sent: Wednesday, December 30, 2009 1:57 PM To: [email protected] Subject: Re: DP CreateClassProxy with Additional Interfaces, Interceptors *and constructor args*?
there is one: public object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, object[] constructorArguments, params IInterceptor[] interceptors) I don't think it's worth to create yet another overload without ProxyGenerationOptions, since we already have a ton of them. C# 4.0 and it's optional arguments is a deliverance for cases like this. On 2009-12-30 17:11, cromwellryan wrote: > I can't seem to find the sweet spot ProxyGenerator.CreateClassProxy > that supports additional interfaces, interceptors *and constructor > arguments*. Additional interfaces and interceptors I can do just > find, just can't seem to find the combination of all 3. > > -- > > You received this message because you are subscribed to the Google Groups "Castle Project Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]. > For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
