Thanks Bill,
I thought that might be the case, in the end I didn't need it anyway :)
Thanks
Stefan
On Tue, Nov 11, 2008 at 11:30 PM, Bill Barry <[EMAIL PROTECTED]> wrote:
>
> Short answer: it doesn't exist, you probably don't need it; Windsor has
> a smarter algorithm than most containers.
>
> Long answer:
> You could provide this functionality by registering an inherited class
> instead of the base class. For example if you had:
> public class MyService:IService {
> public MyService() {...}
> public MyService(IThis, IThat, ITheOtherThing) {...}
> public MyService(IThis, IThat, ITheOtherThing,
> ISomethingRegisteredThatIDoNotWantWindsorToProvide) {...}
> ...
> }
>
> you could create a class MyServiceForWindsor to register as an
> implementation of IService:
> public class MyServiceForWindsor:MyService {
> public MyServiceForWindsor(IThis, IThat, ITheOtherThing):base(...) {}
> }
>
> codemonkey wrote:
>> How can I flag the constructor windsor should use? In unity I can use
>> the InjectionConstructor attribute but I cannot find this, either I am
>> blind or blond.
>>
>>
>> Anyone? Thanks
>>
>> >
>>
>>
>
>
> >
>
--
Stefan Sedich
Software Developer
http://weblogs.asp.net/stefansedich
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---