protected override void OnInitializeRunner() { //Acr.Logging.Log.ToDebug(); //this.AddTestAssembly(typeof(Plugin.BluetoothLE.Tests.DeviceTests).GetTypeInfo().Assembly); UwpShinyHost.Init(new TestStartup()); this.AddTestAssembly(this.GetType().GetTypeInfo().Assembly); }
protected override void OnLaunched(LaunchActivatedEventArgs e) { var rootFrame = Window.Current.Content as Frame; if (rootFrame == null) { rootFrame = new Frame(); rootFrame.NavigationFailed += this.OnNavigationFailed; Forms.Init(e); UwpShinyHost.Init(new SampleStartup()); Window.Current.Content = rootFrame; } if (rootFrame.Content == null) { rootFrame.Navigate(typeof(MainPage), e.Arguments); } Window.Current.Activate(); }
public App() { this.InitializeComponent(); this.Suspending += this.OnSuspending; UwpShinyHost.Init(new ShinyStartup()); }
public App() { this.InitializeComponent(); //UwpShinyHost.ClearBackgroundTasks(); UwpShinyHost.Init(new SampleStartup()); }