Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
protected override void OnResume() { if (ContextHelper.IsElectronNET()) { return; } bool needReload = WebApplicationFactory.ResetBlazorViewIfHttpPortChanged(); WebApplicationFactory.StartWebServer(); if (!needReload) { //As the previous event can fire a reload too, we just check that a reload is not already pending, //preventing to call the WebView reload twice WebApplicationFactory.NotifyEnsureBlazorAppLaunchedOrReload(); } }