Beispiel #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            var dependencies = new Dependencies();
            var container    = dependencies.BuildContainer();

            var mainWindow = container.Resolve <MainWindow>();

            mainWindow.Show();
        }
Beispiel #2
0
 private void Test()
 {
     var dependencies = new Dependencies();
     var container    = dependencies.BuildContainer();
     var mainWindow   = container.Resolve <MainWindow>();
 }
Beispiel #3
0
 public static void Main(string[] args)
 {
     Dependencies.Configure();
     Dependencies.BuildContainer();
     BuildWebHost(args).Run();
 }