/// <summary> /// Override this method only if you (the developer) wants to programmatically /// control the means by which and when the Core Window is activated by Template 10. /// One scenario might be a delayed activation for Splash Screen. /// </summary> /// <param name="source">Reason for the call from Template 10</param> public void ActivateWindow(ActivateWindowSources source, ISplashLogic splashLogic) { if (source != ActivateWindowSources.SplashScreen) { splashLogic.Hide(); } Window.Current.Activate(); }
public SplashExtension(ISplashLogic splashLogic) { _splashLogic = splashLogic; }