Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static IPolicyRegistry<string> AddPolicyRegistry(this IServiceCollection
}

// Create an empty registry, register and return it as an instance. This is the best way to get a
// single instance registered using both interfaces.
// single instance registered using all the interfaces.
var registry = new PolicyRegistry();

services.AddSingleton<IConcurrentPolicyRegistry<string>>(registry);
Expand Down Expand Up @@ -90,7 +90,7 @@ public static IServiceCollection AddPolicyRegistry(this IServiceCollection servi
}

// Create an empty registry, configure it and register it as an instance.
// This is the best way to get a single instance registered using both interfaces.
// This is the best way to get a single instance registered using all the interfaces.
services.AddSingleton(serviceProvider =>
{
var registry = new PolicyRegistry();
Expand Down