src/AzureDevops.Logger/ServiceCollectionExtensions.cs
/// <summary>
/// Registers the required services, so that <see cref="IAzDOLogger"/> can be injected and used in the application.
/// </summary>
/// <param name="serviceCollection"><see cref="IServiceCollection"/> instance.</param>
Registers the required services, so that  can be injected and used in the application.
Registers the required services so that can be injected and used in the application .
public static void AddAzureDevOpsLogger(this IServiceCollection serviceCollection)
    {
        serviceCollection.AddSingleton<ILogMessageFactory, LogMessageFactory>();
        serviceCollection.AddSingleton<IAzDOLogger, AzDOLogger>();
    }
public static void AddAzureDevOpsLogger ( this IServiceCollection serviceCollection ) { serviceCollection . AddSingleton < ILogMessageFactory , LogMessageFactory > ( ) ; serviceCollection . AddSingleton < IAzDOLogger , AzDOLogger > ( ) ; }
Registers the required services, so that  can be injected and used in the application.
Registers the required services so that can be injected and used in the application .
IServiceCollection
this
serviceCollection
None