Skip to content

Commit 9cafa60

Browse files
committed
Update readme
1 parent b4ec3bf commit 9cafa60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class Startup
8080
// (magic string "myCachePolicy" only hard-coded here to keep the example simple!)
8181
public MyController(IPolicyRegistry<string> policyRegistry)
8282
{
83-
var _cachePolicy = policyRegistry.Get<ISyncPolicy>("myCachePolicy");
83+
var _cachePolicy = policyRegistry.Get<ISyncPolicy>("myCachePolicy"); // Or: IAsyncPolicy
8484
// ...
8585
}
8686

0 commit comments

Comments
 (0)