_unityContainer = new UnityContainer(); _unityContainer.RegisterType<Class1>(new InjectionConstructor(var1,var2)); _unityContainer.RegisterType<Class2>(new InjectionConstructor(var3));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)