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() { }
107
107
protected virtual bool ShouldRender ( ) { throw null ; }
108
108
protected void StateHasChanged ( ) { }
109
109
}
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
- }
115
110
public abstract partial class Dispatcher
116
111
{
117
112
protected Dispatcher ( ) { }
Original file line number Diff line number Diff line change 5
5
6
6
namespace Microsoft . AspNetCore . Components
7
7
{
8
- /// <summary>
9
- /// Default implementation of <see cref="IComponentActivator"/>.
10
- /// </summary>
11
- public class DefaultComponentActivator : IComponentActivator
8
+ internal class DefaultComponentActivator : IComponentActivator
12
9
{
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 ( ) ;
17
11
18
12
/// <inheritdoc />
19
13
public IComponent CreateInstance ( Type componentType )
You can’t perform that action at this time.
0 commit comments