Esempio n. 1
0
 public UserDataProvider(IOptions <ConfidentialInfo> myConfiguration, IConfiguration configuration)
 {
     _confidentialInfo = myConfiguration.Value;
 }
Esempio n. 2
0
 public AdminSignController(SystemContext context, IOptions <ConfidentialInfo> setting)
 {
     _context         = context;
     confidentialInfo = setting.Value;
 }
 public HomeController(SystemContext context, IHostingEnvironment env, IOptions <ConfidentialInfo> setting)
 {
     _context         = context;
     _env             = env;
     confidentialInfo = setting.Value;
 }