3de1b04cb4
+ Tests for common core
17 lines
390 B
C#
17 lines
390 B
C#
using System;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Squirrowse.Core
|
|
{
|
|
public static class CoreModule
|
|
{
|
|
public static IServiceCollection AddCoreModule(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton(typeof(ILogger<>), typeof(Logger<>));
|
|
|
|
return services;
|
|
}
|
|
}
|
|
}
|