public AuthMessageSender(IOptions <AppProperties> optionsAccessor, IHostingEnvironment env)
 {
     options  = optionsAccessor.Value;
     this.env = env;
 }
Ejemplo n.º 2
0
 //for testing
 public void setAppProperties(AppProperties props)
 {
     this.options = props;
 }
 public DirectionsService(IOptions <AppProperties> optionsAccessor)
 {
     options = optionsAccessor.Value;
 }
Ejemplo n.º 4
0
 public GoogleMapsUtil(IOptions <AppProperties> optionsAccessor)
 {
     options = optionsAccessor.Value;
 }