Rename DefaultBrowserServiceProvider->BrowserServiceProvider for consistency

This commit is contained in:
Steve Sanderson 2018-02-23 10:50:35 +00:00
parent 0bb32ad628
commit f684203721
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Blazor.Browser.Rendering
/// <summary>
/// Constructs an instance of <see cref="BrowserRenderer"/>.
/// </summary>
public BrowserRenderer(): this(new DefaultBrowserServiceProvider())
public BrowserRenderer(): this(new BrowserServiceProvider())
{
}

View File

@ -11,22 +11,22 @@ namespace Microsoft.AspNetCore.Blazor.Browser.Services
/// An implementation of <see cref="IServiceProvider"/> configured with
/// default services suitable for use in a browser environment.
/// </summary>
public class DefaultBrowserServiceProvider : IServiceProvider
public class BrowserServiceProvider : IServiceProvider
{
private readonly IServiceProvider _underlyingProvider;
/// <summary>
/// Constructs an instance of <see cref="DefaultBrowserServiceProvider"/>.
/// Constructs an instance of <see cref="BrowserServiceProvider"/>.
/// </summary>
public DefaultBrowserServiceProvider(): this(null)
public BrowserServiceProvider(): this(null)
{
}
/// <summary>
/// Constructs an instance of <see cref="DefaultBrowserServiceProvider"/>.
/// Constructs an instance of <see cref="BrowserServiceProvider"/>.
/// </summary>
/// <param name="configure">A callback that can be used to configure the <see cref="IServiceCollection"/>.</param>
public DefaultBrowserServiceProvider(Action<IServiceCollection> configure)
public BrowserServiceProvider(Action<IServiceCollection> configure)
{
var serviceCollection = new ServiceCollection();
AddDefaultServices(serviceCollection);