Пример #1
0
        private static void WebView_NavigationCompleted(Windows.UI.Xaml.Controls.WebView sender, Windows.UI.Xaml.Controls.WebViewNavigationCompletedEventArgs args)
        {
            var message = $"NavigationCompleted @ {args.Uri} [{sender.Source}]";

            SetMessage(sender, message);
            sender.Log().DebugIfEnabled(() => message);
        }
Пример #2
0
        private static void WebView_NavigationStarting(Windows.UI.Xaml.Controls.WebView sender, Windows.UI.Xaml.Controls.WebViewNavigationStartingEventArgs args)
        {
            var message = $"NavigationStarting @ {args.Uri} [{sender.Source}]";

            SetMessage(sender, message);
            sender.Log().Debug(message);
        }