Top "Open-generics" questions

What exactly is an "open generic type" in .NET?

I was going through Asp.Net MVC lesson and learned that, for a method to qualify as an action for …

c# .net generics open-generics
Get all types implementing specific open generic type

How do I get all types that implementing a specific open generic type? For instance: public interface IUserRepository : IRepository<…

c# generics reflection open-generics
How to register many for open generic in Autofac

I'm new to Autofac (not to DI). Here is the situation: I have these interfaces: public interface IQuery<out …

c# dependency-injection inversion-of-control autofac open-generics
Pattern for exposing non-generic version of generic interface

Say I have the following interface for exposing a paged list public interface IPagedList<T> { IEnumerable<T&…

c# design-patterns generics interface open-generics
What is the correct way to register FluentValidation with SimpleInjector?

I am able to register FluentValidation AbstractValidators using a FluentValidatorFactory. However, it doesn't feel right, because not all of the …

dependency-injection fluentvalidation fluentvalidation-2.0 open-generics simple-injector