13 references to UrlLoadingStrategy
Microsoft.AspNetCore.Components.WebView.Maui (13)
iOS\IOSWebViewManager.cs (4)
227
UrlLoadingStrategy
strategy;
233
strategy =
UrlLoadingStrategy
.OpenExternally;
245
if (strategy ==
UrlLoadingStrategy
.OpenExternally)
254
if (strategy !=
UrlLoadingStrategy
.OpenInWebView)
src\BlazorWebView\src\SharedSource\Log.cs (1)
30
public static partial void NavigationEvent(this ILogger logger, Uri uri,
UrlLoadingStrategy
urlLoadingStrategy);
src\BlazorWebView\src\SharedSource\UrlLoadingEventArgs.cs (8)
16
var
strategy = appOriginUri.IsBaseOf(urlToLoad) ?
17
UrlLoadingStrategy
.OpenInWebView :
18
UrlLoadingStrategy
.OpenExternally;
23
private UrlLoadingEventArgs(Uri url,
UrlLoadingStrategy
urlLoadingStrategy)
36
/// Defaults to <see cref="
UrlLoadingStrategy
.OpenExternally"/> unless <see cref="Url"/> has a host
37
/// matching the app origin, in which case the default becomes <see cref="
UrlLoadingStrategy
.OpenInWebView"/>.
39
/// This value should not be changed to <see cref="
UrlLoadingStrategy
.OpenInWebView"/> for external links
43
public
UrlLoadingStrategy
UrlLoadingStrategy { get; set; }