MockRepository.CreateStub< IEntityProvider<IEntity> >() On Wed, Dec 10, 2008 at 10:50 AM, Richard Nagle <[EMAIL PROTECTED]> wrote:
> > If I have an interface thus: > > public interface IEntityProvider<Entity> > where Entity : IEntity > > How can I create a rhino mock of IEntityProvider such that Entity is > the type of a mock of IEntity? > > Because you need to know the generic type at compile time I think > what I'm asking for is impossible. But I'll ask anyway in case I'm > missing a trick.. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino.Mocks" 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/RhinoMocks?hl=en -~----------~----~----~----~------~----~------~--~---
