Re: RE: query about StartableFacility extension methods

2011-02-04 Thread Jason Meckley
Why not have your object inherit IStartable? you still get static checking and you don't need to be explicit about this when registering the component. -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to

Re: query about StartableFacility extension methods

2011-02-04 Thread Krzysztof Koźmic
because we don't want to force anyone to inherit startable On 04/02/2011 11:16 PM, Jason Meckley wrote: Why not have your object inherit IStartable? you still get static checking and you don't need to be explicit about this when registering the component. -- You received this message because

Re: query about StartableFacility extension methods

2011-02-03 Thread Krzysztof Koźmic
it could be, but I'm not sure that would be possible without heavily rebuilding the entire fluent API. On 04/02/2011 11:22 AM, Adam Langley wrote: Hi Team, I have been using the StartableFacility during the registration of my service. My service is publicly registered as an interface, but the

RE: query about StartableFacility extension methods

2011-02-03 Thread Adam Langley
Kozmic Sent: Friday, 4 February 2011 2:24 p.m. To: castle-project-users@googlegroups.com Subject: Re: query about StartableFacility extension methods it could be, but I'm not sure that would be possible without heavily rebuilding the entire fluent API. On 04/02/2011 11:22 AM, Adam Langley wrote: Hi

RE: query about StartableFacility extension methods

2011-02-03 Thread Adam Langley
[mailto:castle-project-users@googlegroups.com] On Behalf Of Krzysztof Kozmic Sent: Friday, 4 February 2011 2:56 p.m. To: castle-project-users@googlegroups.com Subject: Re: query about StartableFacility extension methods Also remember that if you want to avoid casting you may specify the name

Re: query about StartableFacility extension methods

2011-02-03 Thread Krzysztof Koźmic
ask! Adam Langley -Original Message- From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Krzysztof Kozmic Sent: Friday, 4 February 2011 2:24 p.m. To: castle-project-users@googlegroups.com Subject: Re: query about StartableFacility