private static void RegisterTypes(IContainer container)
        {
            //container.RegisterType<IUser, User>();

            //Module initialization thru MEF
            StructureMapModuleLoader.LoadContainer(container, ".\\bin", "CodingTest.*.dll");
        }
        private static void RegisterTypes(IContainer container)
        {
            //container.RegisterType<IUserData, UserData>();
            //container.RegisterType<IUserDomain, UserDomain>();

            //Module initialization thru MEF
            StructureMapModuleLoader.LoadContainer(container, ".\\bin", "CrossOver.*.dll");
        }
Example #3
0
        private static void RegisterTypes(IContainer container)
        {
            //container.RegisterType<IUserData, UserData>();
            //container.RegisterType<IUserDomain, UserDomain>();

            //Module initialization thru MEF
            StructureMapModuleLoader.LoadContainer(container, @".\bin\Debug\netcoreapp2.1", "Net.Core.*.dll");
        }
Example #4
0
 private static void RegisterTypes(IContainer container)
 {
     //Module initialization thru MEF
     StructureMapModuleLoader.LoadContainer(container, ".\\bin\\Debug\\netcoreapp2.0", "WebApi.Core.*.dll");
 }