Cleanup doc comment grammar and some debugging leftovers (#6065)
This commit is contained in:
parent
92b40a4dbc
commit
92adad62e3
|
|
@ -26,8 +26,8 @@ namespace Microsoft.AspNetCore.Blazor.Services
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Called to initialize BaseURI and current URI before those values the first time.
|
/// Called to initialize BaseURI and current URI before those values are used the first time.
|
||||||
/// Override this method to dynamically calculate the those values.
|
/// Override this method to dynamically calculate those values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override void InitializeState()
|
protected override void InitializeState()
|
||||||
{
|
{
|
||||||
|
|
@ -36,14 +36,12 @@ namespace Microsoft.AspNetCore.Blazor.Services
|
||||||
typeof(WebAssemblyUriHelper).Assembly.GetName().Name,
|
typeof(WebAssemblyUriHelper).Assembly.GetName().Name,
|
||||||
nameof(NotifyLocationChanged));
|
nameof(NotifyLocationChanged));
|
||||||
|
|
||||||
// As described in other comment block above, BrowserUriHelper is only for
|
// As described in the comment block above, BrowserUriHelper is only for
|
||||||
// client -side (Mono) use, so it's OK to rely on synchrony here.
|
// client-side (Mono) use, so it's OK to rely on synchronicity here.
|
||||||
var baseUri = ((IJSInProcessRuntime)JSRuntime.Current).Invoke<string>(Interop.GetBaseUri);
|
var baseUri = ((IJSInProcessRuntime)JSRuntime.Current).Invoke<string>(Interop.GetBaseUri);
|
||||||
var uri = ((IJSInProcessRuntime)JSRuntime.Current).Invoke<string>(Interop.GetLocationHref);
|
var uri = ((IJSInProcessRuntime)JSRuntime.Current).Invoke<string>(Interop.GetLocationHref);
|
||||||
SetAbsoluteBaseUri(baseUri);
|
SetAbsoluteBaseUri(baseUri);
|
||||||
SetAbsoluteUri(uri);
|
SetAbsoluteUri(uri);
|
||||||
|
|
||||||
Console.WriteLine("Initialized");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue