Exemplo n.º 1
0
        private static void Main(string[] args)
        {
            UnityActivator.Start();

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

            UnityActivator.Shutdown();
        }
Exemplo 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();
        }
Exemplo n.º 3
0
 public void Start()
 {
     UnityActivator.Start();
 }