예제 #1
0
파일: Program.cs 프로젝트: topgenorth/range
        private static void InitializeApplication()
        {
            var initCmd = new InitializeCommonServiceLocatorCommand();
            initCmd.Execute();

            var initAutoMapper = new ConfigureAutoMapperCommand();
            initAutoMapper.Execute();

            var createDb = ServiceLocator.Current.GetInstance<ICreateDb4oDatabase>();
            createDb.Execute();
        }
 public void TestFixtureSetUp()
 {
     var cmd = new InitializeCommonServiceLocatorCommand();
     cmd.Execute();
 }