예제 #1
0
        public void ShouldBeValid()
        {
            var autoMapperSetup = new AutoMapperSetup();

            autoMapperSetup.Run();

            Mapper.AssertConfigurationIsValid();
        }
예제 #2
0
        public void ShouldBeValid()
        {
            var autoMapperSetup = new AutoMapperSetup();

            autoMapperSetup.Run();

            Mapper.AssertConfigurationIsValid();
        }
예제 #3
0
        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();
        }