private static void Main(string[] args) { UnityActivator.Start(); UnityConfig.GetConfiguredContainer().Resolve <IBatchRunner>().Run(new BatchStartPoint()); UnityActivator.Shutdown(); }
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 Start() { UnityActivator.Start(); }