You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
according to https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.navigationcompleted?view=webview2-dotnet-1.0.2210.55
there's no URI string that was used in CoreWebView2NavigationCompletedEventArgs, only navigation id , for reasons beyond me and others, so aside from using the source property (which may not always be updated from what i understand) what would be a consistent way of getting the uri that was used in CoreWebView2NavigationStartingEventArgs
are we expected to maintain a Dictionary<ulong,URI> on a class level and for each NavigationStarting event put the navigationID into the dictionary and on each NavigationCompleted do tryRemove?
does the dictionary need to concurrecnt dictionary?
are there any code samples which detail this usage?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
according to https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.navigationcompleted?view=webview2-dotnet-1.0.2210.55
there's no URI string that was used in CoreWebView2NavigationCompletedEventArgs, only navigation id , for reasons beyond me and others, so aside from using the source property (which may not always be updated from what i understand) what would be a consistent way of getting the uri that was used in CoreWebView2NavigationStartingEventArgs
are we expected to maintain a Dictionary<ulong,URI> on a class level and for each NavigationStarting event put the navigationID into the dictionary and on each NavigationCompleted do tryRemove?
does the dictionary need to concurrecnt dictionary?
are there any code samples which detail this usage?
Beta Was this translation helpful? Give feedback.
All reactions