2021-11-19 14:59:24 +01:00
|
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
2021-11-20 13:52:28 +01:00
|
|
|
namespace zero.Architecture;
|
2021-11-19 14:59:24 +01:00
|
|
|
|
|
|
|
|
public class ZeroModuleConfiguration : IZeroModuleConfiguration
|
|
|
|
|
{
|
|
|
|
|
public IServiceCollection Services { get; }
|
|
|
|
|
|
|
|
|
|
public IConfiguration Configuration { get; }
|
|
|
|
|
|
|
|
|
|
internal ZeroModuleConfiguration(IServiceCollection servicse, IConfiguration configuration)
|
|
|
|
|
{
|
|
|
|
|
Services = servicse;
|
|
|
|
|
Configuration = configuration;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public interface IZeroModuleConfiguration
|
|
|
|
|
{
|
|
|
|
|
IServiceCollection Services { get; }
|
|
|
|
|
|
|
|
|
|
IConfiguration Configuration { get; }
|
|
|
|
|
}
|