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
28
28
}
29
29
30
30
// 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.
32
32
var registry = new PolicyRegistry ( ) ;
33
33
34
34
services . AddSingleton < IConcurrentPolicyRegistry < string > > ( registry ) ;
@@ -90,7 +90,7 @@ public static IServiceCollection AddPolicyRegistry(this IServiceCollection servi
90
90
}
91
91
92
92
// 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.
94
94
services . AddSingleton ( serviceProvider =>
95
95
{
96
96
var registry = new PolicyRegistry ( ) ;
You can’t perform that action at this time.
0 commit comments