Пример #1
0
 public loginManager(IHttpContextAccessor httpContextAccessor, IRequestManger requestManger, IDataProtectionProvider dataProtectionProvider, IConfiguration configuration)
 {
     _httpContextAccessor    = httpContextAccessor ?? throw new ArgumentNullException(nameof(_httpContextAccessor));
     _requestManger          = requestManger ?? throw new ArgumentNullException(nameof(_requestManger));
     _dataProtectionProvider = dataProtectionProvider ?? throw new ArgumentNullException(nameof(_dataProtectionProvider));
     _configuration          = configuration ?? throw new ArgumentNullException(nameof(_configuration));
 }
Пример #2
0
 public ItemManager(IItemHandler <ItemModel> item, IRequestManger requestManger)
 {
     _item          = item ?? throw new ArgumentNullException(nameof(_item));
     _requestManger = requestManger ?? throw new ArgumentNullException(nameof(_requestManger));
 }
Пример #3
0
 public PurchaseHandler(IRequestManger requestManger)
 {
     _requestManger = requestManger ?? throw new ArgumentNullException(nameof(_requestManger));
 }