Example #1
0
 public HomeController([FromServices] IConfiguration config)
 {
     this._log = new Credito.Core.Log.Logger(typeof(HomeController), config.GetValue <string>("Config:NombreLogUsr"));
     // this._log = new BibliotecaSimulador.Logs.Logg(config.GetValue<string>("Config:NombreLogUsr"));
     this.Config      = config;
     this.UrlRedirect = this.Config[$"{sectionName}:{enviromentName}:{paramName}"].ToString();
 }
Example #2
0
 public VariablesController(IConfiguration configuration)
 {
     this._configuration = configuration;
     _log = new Credito.Core.Log.Logger(typeof(VariablesController), _configuration.GetValue <string>("NombreLogVariables"));
 }
 public ConfigServicios([FromServices] IConfiguration config)
 {
     this._log = new Credito.Core.Log.Logger(typeof(ConfigServicios), config.GetValue <string>("Config:NombreLogUsr"));
     //this._log = new BibliotecaSimulador.Logs.Logg(config.GetValue<string>("Config:NombreLogUsr"));
     this.Config = config;
 }