News

var myService = _myServiceProvider.GetService(); For example, you can use the following code snippet to retrieve a service instance of a custom logger in your application.