File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public IPipeline<TState> SetDefault(TState state)
107107 /// <summary>
108108 /// Registers a new node in the pipeline. The node will be created using the type's parameterless constructor.
109109 /// </summary>
110- public IPipeline < TState > RegisterNode < TNode > ( ) where TNode : IPipelineNode < TState >
110+ public virtual IPipeline < TState > RegisterNode < TNode > ( ) where TNode : IPipelineNode < TState >
111111 {
112112 return RegisterNode ( ( TNode ) Activator . CreateInstance ( typeof ( TNode ) ) ! ) ;
113113 }
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public ServiceProviderPipeline(
7676 /// <summary>
7777 /// Registers a new node in the pipeline. The node will be created using the service provider.
7878 /// </summary>
79- public new IPipeline < TState > RegisterNode < TNode > ( ) where TNode : IPipelineNode < TState >
79+ public override IPipeline < TState > RegisterNode < TNode > ( )
8080 {
8181 return RegisterNode ( ActivatorUtilities . CreateInstance < TNode > ( _serviceProvider ) ) ;
8282 }
You can’t perform that action at this time.
0 commit comments