private static void Main(string[] args)
        {
            UnityActivator.Start();

            UnityConfig.GetConfiguredContainer().Resolve <IBatchRunner>().Run(new BatchStartPoint());

            UnityActivator.Shutdown();
        }
Esempio n. 2
0
        private static void Main(string[] args)
        {
            UnityActivator.Start();

            var resolve = UnityConfig.GetConfiguredContainer().Resolve(typeof(IBatchRunner), null) as IBatchRunner;

            resolve.Run(new BatchStartPoint());

            UnityActivator.Shutdown();
        }
 public void End()
 {
     UnityActivator.Shutdown();
 }