Esempio n. 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            Console.WriteLine("Starting AppDomain Launcher");

            AppDomainLauncher domainLauncher = new AppDomainLauncher();

            var mainWindow = new MainWindow(domainLauncher);
            mainWindow.Show();
        }
Esempio n. 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            Console.WriteLine("Starting AppDomain Launcher");

            AppDomainLauncher domainLauncher = new AppDomainLauncher();

            var mainWindow = new MainWindow(domainLauncher);

            mainWindow.Show();
        }
Esempio n. 3
0
        public MainWindow(AppDomainLauncher launcher)
        {
            this.launcher = launcher;
            logger.Info("On WPF startup");
            InitializeComponent();

            CodeToTestSimpleFactory factory = new CodeToTestSimpleFactory();
            //explicitly split into to separete things for introducing another changes
            CodeToTestList codeToTestList = new CodeToTestList(factory.ListOfCodeTests);
            containerListBox.DataContext = codeToTestList;
        }
Esempio n. 4
0
        public MainWindow(AppDomainLauncher launcher)
        {
            this.launcher = launcher;
            logger.Info("On WPF startup");
            InitializeComponent();

            CodeToTestSimpleFactory factory = new CodeToTestSimpleFactory();
            //explicitly split into to separete things for introducing another changes
            CodeToTestList codeToTestList = new CodeToTestList(factory.ListOfCodeTests);

            containerListBox.DataContext = codeToTestList;
        }