File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/HttpClientFactory/Polly/src/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static IPolicyRegistry<string> AddPolicyRegistry(this IServiceCollection
2828 }
2929
3030 // Create an empty registry, register and return it as an instance. This is the best way to get a
31- // single instance registered using both interfaces.
31+ // single instance registered using all the interfaces.
3232 var registry = new PolicyRegistry ( ) ;
3333
3434 services . AddSingleton < IConcurrentPolicyRegistry < string > > ( registry ) ;
@@ -90,7 +90,7 @@ public static IServiceCollection AddPolicyRegistry(this IServiceCollection servi
9090 }
9191
9292 // Create an empty registry, configure it and register it as an instance.
93- // This is the best way to get a single instance registered using both interfaces.
93+ // This is the best way to get a single instance registered using all the interfaces.
9494 services . AddSingleton ( serviceProvider =>
9595 {
9696 var registry = new PolicyRegistry ( ) ;
You can’t perform that action at this time.
0 commit comments