I'm afraid it's my fault, I submitted a patch to Castle where I removed that
class since it was not used and I guessed it was not supposed to be used
externally. As a workaround AbstractComponentExtension can inherit
ComponentDescriptor<object>, which was actually exactly the only thing the
non-generic ComponentDescriptor was doing.

On Tue, Jan 12, 2010 at 22:59, Paul Cowan <[email protected]> wrote:

> Hi,
>
> I am trying to build Rhino.Commons against the latest MicroKernel and the
> following class is giving me problems:
>
> public abstract class AbstractComponentExtension : ComponentDescriptor,
> IComponentExtension
> {
>     public virtual void Apply(Component component, ComponentRegistration
> registration)
>     {
> registration.AddDescriptor(this);
>     }
> }
>
> As you can see, AbstractComponentExtension inherits
> from ComponentDescriptor.  The problem is ComponentDescriptor now takes a
> generic argument.
>
> I get the following error:
>
> Error 1 Using the generic type
> 'Castle.MicroKernel.Registration.ComponentDescriptor<S>' requires '1' type
> arguments
> C:\hornget\.horn\frameworks\rhino.tools\rhino.commons\Working\Rhino.Commons.Binsor\Extensions\AbstractComponentExtension.cs
> 36 53 Rhino.Commons.Binsor
>
> Anybody any clues on this one?
>
> Cheers
>
> Paul Cowan
>
> Cutting-Edge Solutions (Scotland)
>
> http://thesoftwaresimpleton.blogspot.com/
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rhino-tools-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" 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/rhino-tools-dev?hl=en.

Reply via email to