Have you tried the DoNotWire attribute?

http://stackoverflow.com/questions/178611/windsor-container-how-to-specify-a-public-property-should-not-be-filled-by-the

---
Patrick Steele
http://weblogs.asp.net/psteele


On Wed, May 9, 2012 at 5:33 AM, Kim Birkelund <[email protected]> wrote:
> Hi
>
> I suddenly ran into Windsor having populated a random Func<,> property with
> some delegate it thought up itself and found it to be caused by
> TypedFactoryFacility.
>
> I found a question on StackOverflow
> (http://stackoverflow.com/questions/5987323/can-windsors-typedfactoryfacilitys-implicit-delegate-factory-registration-be-d)
> that instructed that you should just remove the DelegateFactory responsible
> for doing this, however I cannot for the life of me figure out how to do
> that.
>
> According to docs IKernel should have a RemoveComponent method, but it
> doesn't appear to in the version (3.0) I have.
>
> Is there another way of getting around TypedFactoryFacility doing this?
>
>
> /kim
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/castle-project-users/-/6hB8RUdumtkJ.
> 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.

Reply via email to