"coconet" <coconet@xxxxxx> wrote in message
> .NET 3.5
> If I understand correctly, extension methods must be in a public
> static class. I have some code that executes in a COM+ application for
> object pooling purposes. I am trying to update it by using LINQ and an
> extension method. I think my code that inherits from ServicedComponent
> cannot have any public static code, all methods must be instance
> How can I make this stuff all work together?
If I've understood your question correctly I don't think you can.
You will need to create additional interfaces to expose your new methods,
extension methods are not callable via COM since COM requires an interface.
Anthony Jones - MVP ASP/ASP.NET