示例#1
0
 public ShoppingCartController(IOptions <PaymentExpressSettings> optionsAccessor)
 {
     _optionsAccessor = optionsAccessor;
     _appSettings     = optionsAccessor.Value;
 }
 public PaymentProvider(IOptions <PaymentExpressSettings> optionsAccessor)
 {
     _appSettings = optionsAccessor.Value;
 }