2020-07-09 02:58:04 +03:00
|
|
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
|
using NetworkResurrector.Domain.Services;
|
|
|
|
|
|
|
|
|
|
namespace NetworkResurrector.Application.Services
|
|
|
|
|
{
|
|
|
|
|
public class ParamProvider : IParamProvider
|
|
|
|
|
{
|
|
|
|
|
private readonly IConfiguration _configuration;
|
|
|
|
|
|
|
|
|
|
public ParamProvider(IConfiguration configuration)
|
|
|
|
|
{
|
|
|
|
|
_configuration = configuration;
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-21 01:21:21 +02:00
|
|
|
|
// public User[] Users => _configuration.GetSection("Users").Get<User[]>();
|
2020-07-09 02:58:04 +03:00
|
|
|
|
}
|
|
|
|
|
}
|