protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); var dependencies = new Dependencies(); var container = dependencies.BuildContainer(); var mainWindow = container.Resolve <MainWindow>(); mainWindow.Show(); }
private void Test() { var dependencies = new Dependencies(); var container = dependencies.BuildContainer(); var mainWindow = container.Resolve <MainWindow>(); }
public static void Main(string[] args) { Dependencies.Configure(); Dependencies.BuildContainer(); BuildWebHost(args).Run(); }