Thanks Chad; that syntax does not seem to work (don't you have to
specify the type arg in that usage?) but this works for the situation
I described:
StructureMapConfiguration
.ForRequestedType(typeof (IRepository<>))
.TheDefaultIsConcreteType(typeof (Repository<>));
Unfortunately I oversimplified my situation... Repository<T> is
actually an abstract base class, I need IRepository<User> to resolve
to UserRepository (which inherits IRepository<User>). How can I
handle this?