public void ShouldBeValid() { var autoMapperSetup = new AutoMapperSetup(); autoMapperSetup.Run(); Mapper.AssertConfigurationIsValid(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Args = e.Args; SplashScreen = new SplashScreen("Resources/Images/splash.png"); #if !DEBUG SplashScreen.Show(true, true); #endif ThemeHelper.SetTheme("classic", ""); MediaViewerBootstrapper bootstrapper = new MediaViewerBootstrapper(); bootstrapper.Run(); AutoMapperSetup.Run(); }