There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
There is currently a method for retrieving a particular constructor for a type when the parameter types are known such as:
I would like to see two things implemented. First, Type.GetConstructors() should return ConstructorInfo for all constructors for the type. Second, ConstructorInfo does not currently implement the "GetParameters" method but it would be nice if it did.
I'd like to create a (very) simple dependency injection tool for Micro framework, but this is extremely difficult to do without these two minor additions to the framework. If I was able to resolve all the constructors for a type, and request the parameters
types for each constructor, I would be able to build such a tool.