Last active
February 14, 2020 18:23
-
-
Save antmdvs/cbfc349bcec564a710c57b3141673e1a to your computer and use it in GitHub Desktop.
Configure Patterns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// KISS | |
services.AddMyService(sdkKey); | |
// builder | |
services.AddMyService(config => config.UseSdkKey(sdkKey)); | |
// fluent | |
services.AddMyService() | |
.UseSdkKey(sdkKey); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment