Ok, it works.
But... I'm looking for a way to invert the container behavior...
something like

container.StopWiringProperties()

[Wire]
public Object MyObjectToWire{ get; set; }

is there a way? Is there any facility automatically injected by castle
I can remove to prevent the container injecting every time?

TIA, best regards

On Mar 13, 9:54 am, Ayende Rahien <[email protected]> wrote:
> [DoNotWire]
>
> On Fri, Mar 13, 2009 at 1:51 PM, Mauro Servienti
> <[email protected]>wrote:
>
>
>
>
>
> > Hy,
>
> > I have a component (ISvcA) registered in the container, the ISvcA
> > implementation has a property of type IMyComponent, the IMyComponent
> > type is also registered in the container.
>
> > I need to configure Castle in order to not inject an IMyComponent
> > instance when a request for ISvcA is made, simply ignore the property.
>
> > Any Idea?
>
> > Best regards.
> > .m- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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