Created
December 16, 2018 21:04
-
-
Save tonysneed/8d49bb2074027d1f79c01441c20f87b4 to your computer and use it in GitHub Desktop.
ConfigureServices 2
This file contains 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
private void ConfigureServices(IServiceCollection serviceCollection) | |
{ | |
// Register services with DI system | |
serviceCollection.AddTransient<IEnvironmentService, EnvironmentService>(); | |
serviceCollection.AddTransient<IConfigurationService, ConfigurationService>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment