We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ec3bf commit 9cafa60Copy full SHA for 9cafa60
README.md
@@ -80,7 +80,7 @@ public class Startup
80
// (magic string "myCachePolicy" only hard-coded here to keep the example simple!)
81
public MyController(IPolicyRegistry<string> policyRegistry)
82
{
83
- var _cachePolicy = policyRegistry.Get<ISyncPolicy>("myCachePolicy");
+ var _cachePolicy = policyRegistry.Get<ISyncPolicy>("myCachePolicy"); // Or: IAsyncPolicy
84
// ...
85
}
86
0 commit comments