I have a class "DependencyResolver" where I return instances of objects by hand. There I used "Activator.CreateInstance". I wanted to change it so it use