public RoutesController(IHttpContextAccessor httpContextAccessor, IOrderFeedAPI orderFeedAPI, IKlaviyoAPI klaviyoAPI, IIOServiceContext context) { this._httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this._orderFeedAPI = orderFeedAPI ?? throw new ArgumentNullException(nameof(orderFeedAPI)); this._klaviyoAPI = klaviyoAPI ?? throw new ArgumentNullException(nameof(klaviyoAPI)); this._context = context ?? throw new ArgumentNullException(nameof(context)); }
public RoutesController(IHttpContextAccessor httpContextAccessor, IOrderFeedAPI orderFeedAPI, ITreasureDataAPI treasureDataAPI, IIOServiceContext context) { this._httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this._orderFeedAPI = orderFeedAPI ?? throw new ArgumentNullException(nameof(orderFeedAPI)); this._treasureDataAPI = treasureDataAPI ?? throw new ArgumentNullException(nameof(treasureDataAPI)); this._context = context ?? throw new ArgumentNullException(nameof(context)); }
public TreasureDataAPI(IHttpContextAccessor httpContextAccessor, IHttpClientFactory clientFactory, IOrderFeedAPI orderFeedAPI, IIOServiceContext context) { this._httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this._clientFactory = clientFactory ?? throw new ArgumentNullException(nameof(clientFactory)); this._orderFeedAPI = orderFeedAPI ?? throw new ArgumentNullException(nameof(orderFeedAPI)); this._context = context ?? throw new ArgumentNullException(nameof(context)); }