File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
src/Components/Components Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,6 @@ protected virtual void OnParametersSet() { }
107107 protected virtual bool ShouldRender ( ) { throw null ; }
108108 protected void StateHasChanged ( ) { }
109109 }
110- public partial class DefaultComponentActivator : Microsoft . AspNetCore . Components . IComponentActivator
111- {
112- public DefaultComponentActivator ( ) { }
113- public Microsoft . AspNetCore . Components . IComponent CreateInstance ( System . Type componentType ) { throw null ; }
114- }
115110 public abstract partial class Dispatcher
116111 {
117112 protected Dispatcher ( ) { }
Original file line number Diff line number Diff line change 55
66namespace Microsoft . AspNetCore . Components
77{
8- /// <summary>
9- /// Default implementation of <see cref="IComponentActivator"/>.
10- /// </summary>
11- public class DefaultComponentActivator : IComponentActivator
8+ internal class DefaultComponentActivator : IComponentActivator
129 {
13- // If no IComponentActivator is supplied by DI, the renderer uses this instance.
14- // It's internal because in the future, we might want to add per-scope state and then
15- // it would no longer be applicable to have a shared instance.
16- internal static IComponentActivator Instance { get ; } = new DefaultComponentActivator ( ) ;
10+ public static IComponentActivator Instance { get ; } = new DefaultComponentActivator ( ) ;
1711
1812 /// <inheritdoc />
1913 public IComponent CreateInstance ( Type componentType )
You can’t perform that action at this time.
0 commit comments