Created
February 1, 2020 07:20
-
-
Save PradeepLoganathan/67ec3cef3b0350da03e5045526387d09 to your computer and use it in GitHub Desktop.
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
| static void Main(string[] args) | |
| { | |
| RegisterServices(); | |
| IServiceScope scope = _serviceProvider.CreateScope(); | |
| scope.ServiceProvider.GetRequiredService<ConsoleApplication>().Run(); | |
| DisposeServices(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment