Example #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            _iocContainer = new StandardKernel();
            _iocContainer.ConfigureIoc();
            //kernel.Bind<BrowseImagesViewModel>()
            //    .ToSelf();
            _configuration = _iocContainer.Get <IBooruConfiguration>();
            _configuration.EnsureCacheDirectoryCreated();

            Current.MainWindow = _iocContainer.Get <MainWindowView>();
            Current.MainWindow.Show();
        }