File tree 3 files changed +5
-7
lines changed
Mvc/Mvc.ViewFeatures/src/DependencyInjection
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
- using System ;
5
4
using System . Diagnostics . CodeAnalysis ;
6
5
using System . Runtime . ExceptionServices ;
7
6
using Microsoft . AspNetCore . Components . RenderTree ;
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ Microsoft.AspNetCore.Components.Web.HtmlComponent.ToHtmlString() -> string!
4
4
Microsoft.AspNetCore.Components.Web.HtmlComponent.WaitForQuiescenceAsync() -> System.Threading.Tasks.Task!
5
5
Microsoft.AspNetCore.Components.Web.HtmlComponent.WriteHtmlTo(System.IO.TextWriter! output) -> void
6
6
Microsoft.AspNetCore.Components.Web.HtmlRenderer
7
- Microsoft.AspNetCore.Components.Web.HtmlRenderer.BeginRenderingComponent<TComponent>() -> Microsoft.AspNetCore.Components.Web.HtmlContent !
8
- Microsoft.AspNetCore.Components.Web.HtmlRenderer.BeginRenderingComponent<TComponent>(Microsoft.AspNetCore.Components.ParameterView parameters) -> Microsoft.AspNetCore.Components.Web.HtmlContent !
7
+ Microsoft.AspNetCore.Components.Web.HtmlRenderer.BeginRenderingComponent<TComponent>() -> Microsoft.AspNetCore.Components.Web.HtmlComponent !
8
+ Microsoft.AspNetCore.Components.Web.HtmlRenderer.BeginRenderingComponent<TComponent>(Microsoft.AspNetCore.Components.ParameterView parameters) -> Microsoft.AspNetCore.Components.Web.HtmlComponent !
9
9
Microsoft.AspNetCore.Components.Web.HtmlRenderer.Dispatcher.get -> Microsoft.AspNetCore.Components.Dispatcher!
10
10
Microsoft.AspNetCore.Components.Web.HtmlRenderer.DisposeAsync() -> System.Threading.Tasks.ValueTask
11
11
Microsoft.AspNetCore.Components.Web.HtmlRenderer.HtmlRenderer(System.IServiceProvider! services, Microsoft.Extensions.Logging.ILoggerFactory! loggerFactory) -> void
12
- Microsoft.AspNetCore.Components.Web.HtmlRenderer.RenderComponentAsync<TComponent>() -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Web.HtmlContent !>!
13
- Microsoft.AspNetCore.Components.Web.HtmlRenderer.RenderComponentAsync<TComponent>(Microsoft.AspNetCore.Components.ParameterView parameters) -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Web.HtmlContent !>!
12
+ Microsoft.AspNetCore.Components.Web.HtmlRenderer.RenderComponentAsync<TComponent>() -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Web.HtmlComponent !>!
13
+ Microsoft.AspNetCore.Components.Web.HtmlRenderer.RenderComponentAsync<TComponent>(Microsoft.AspNetCore.Components.ParameterView parameters) -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Web.HtmlComponent !>!
Original file line number Diff line number Diff line change 5
5
using System . Linq ;
6
6
using Microsoft . AspNetCore . Components ;
7
7
using Microsoft . AspNetCore . Components . Infrastructure ;
8
- using Microsoft . AspNetCore . Components . Rendering ;
9
8
using Microsoft . AspNetCore . Components . Routing ;
10
9
using Microsoft . AspNetCore . Components . Web ;
11
10
using Microsoft . AspNetCore . Mvc ;
@@ -207,7 +206,7 @@ internal static void AddViewServices(IServiceCollection services)
207
206
//
208
207
services . TryAddScoped < IComponentRenderer , ComponentRenderer > ( ) ;
209
208
services . TryAddScoped < StaticComponentRenderer > ( ) ;
210
- services . TryAddScoped < HtmlRenderer > ( ) ;
209
+ services . TryAddScoped < Microsoft . AspNetCore . Components . Rendering . HtmlRenderer > ( ) ;
211
210
services . TryAddScoped < NavigationManager , HttpNavigationManager > ( ) ;
212
211
services . TryAddScoped < IJSRuntime , UnsupportedJavaScriptRuntime > ( ) ;
213
212
services . TryAddScoped < INavigationInterception , UnsupportedNavigationInterception > ( ) ;
You can’t perform that action at this time.
0 commit comments