public CurbsideController(IProcessCurbsideOrders curbsideOrders, IHubContext <ShoppingHub> hub)
 {
     _curbsideOrders = curbsideOrders;
     _hub            = hub;
 }
コード例 #2
0
 public ShoppingHub(ILogger <ShoppingHub> logger, IProcessCurbsideOrders orderProcessor)
 {
     _logger         = logger;
     _orderProcessor = orderProcessor;
 }