Instantiate this class in order to configure the framework.
コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();
            mvvmLightContainer.DataContext = new MVVMLight.MainViewModel();
            reactiveUIContainer.DataContext = new RxUI.MainViewModel();

            var bootstrapper = new Bootstrapper();
            caliburnMicroContainer.DataContext = new CaliburnMicro.MainViewModel();
        }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: TheAngryByrd/MetroPass
 protected override void Configure()
 {
     _bootstrapper = new Bootstrapper();
     _bootstrapper.Configure();
 }
コード例 #3
-1
        public MainWindow()
        {
            InitializeComponent();
            mvvmLightContainer.DataContext = new MVVMLight.MainViewModel();
            reactiveUIContainer.DataContext = new RxUI.MainViewModel();

            //self creating Caliburn bootstrapper inorder to setup all the boilerplate  
            var boot = new Bootstrapper(false);
            caliburnMicroContainer.DataContext = new CaliburnMicro.MainViewModel();
                        
        }