Revert "Make RemoteUriHelper internal"

This reverts commit e23bc822cf.
This commit is contained in:
Ryan Nowak 2019-07-18 10:23:56 -07:00 committed by Ryan Nowak
parent d641dffdc1
commit 3039748ccf
2 changed files with 10 additions and 1 deletions

View File

@ -69,6 +69,15 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
public virtual System.Threading.Tasks.Task OnConnectionDownAsync(Microsoft.AspNetCore.Components.Server.Circuits.Circuit circuit, System.Threading.CancellationToken cancellationToken) { throw null; }
public virtual System.Threading.Tasks.Task OnConnectionUpAsync(Microsoft.AspNetCore.Components.Server.Circuits.Circuit circuit, System.Threading.CancellationToken cancellationToken) { throw null; }
}
public partial class RemoteUriHelper : Microsoft.AspNetCore.Components.UriHelperBase
{
public RemoteUriHelper(Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Server.Circuits.RemoteUriHelper> logger) { }
public bool HasAttachedJSRuntime { get { throw null; } }
public override void InitializeState(string uriAbsolute, string baseUriAbsolute) { }
protected override void NavigateToCore(string uri, bool forceLoad) { }
[Microsoft.JSInterop.JSInvokableAttribute("NotifyLocationChanged")]
public static void NotifyLocationChanged(string uriAbsolute, bool isInterceptedLink) { }
}
}
namespace Microsoft.AspNetCore.Components.Web.Rendering
{

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
/// <summary>
/// A Server-Side Components implementation of <see cref="IUriHelper"/>.
/// </summary>
internal class RemoteUriHelper : UriHelperBase
public class RemoteUriHelper : UriHelperBase
{
private readonly ILogger<RemoteUriHelper> _logger;
private IJSRuntime _jsRuntime;