I have a class like below which has some methods on it.
class RepositoryManager<T> where T: IEntity
What I would like to do, is go through all the types in my assembly that implement IEntity and create a version of RepositoryManager for each of those types. I can read all types in my assembly that implement IEntity through reflection.
1) But using those types, how do I create an instance of RepositoryManager for each of those types?
2) How do I invoke a method on one of those created instances if they are not strongly typed?