コード例 #1
0
 public SmokerService(SmokerDBContext context, IMapper mapper, IHubContext <MessageHub, IMessageHub> messageHub, IUserInfoService userInfoService, ISmokerConnectionService smokerConnectionService, INotficationService notificationService = null)
 {
     _context                 = context;
     _mapper                  = mapper;
     _messageHub              = messageHub;
     _userInfoService         = userInfoService;
     _smokerConnectionService = smokerConnectionService;
     _notificationService     = notificationService;
 }
コード例 #2
0
 public MessageHub(ISmokerConnectionService smokerConnectionService)
 {
     _smokerConnectionService = smokerConnectionService;
 }