Why can I not do this? Where obj value is a valid type.
Type type = obj.Value.GetType();
this.unityContainer.RegisterType<type>();
OR
this.unityContainer.RegisterType(obj.Value);
When I can do this... where obj value would be the same type but known at compile time.
this.unityContainer.RegisterType<object, actualType>("Name");
The end goal of mine is to be able to register several different types at run time.