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));
 }
Exemple #2
0
 public EventsController(IIOServiceContext context, ITreasureDataAPI treasureDataAPI)
 {
     this._context         = context ?? throw new ArgumentNullException(nameof(context));
     this._treasureDataAPI = treasureDataAPI ?? throw new ArgumentNullException(nameof(treasureDataAPI));
 }