public static void Main(string[] args) { var container = new UnityContainer(); CompositionFactory.Compose(container); Proto.Core.CompositionFactory.Compose(container); new Application(Eto.Platforms.Wpf).Run(new MainForm(container.Resolve <IMainFormViewModel>(), container.Resolve <ILogViewerControlFactory>())); }
public static void Main(string[] args) { SpinMeStyles.Set(OS.Windows); var container = CompositionFactory.GetContainer(); CompositionFactory.Compose(container); new Application(Eto.Platforms.Wpf).Run(new MainForm(container.Resolve <IPanelFactory>(), container.Resolve <IMainFormViewModel>())); }