コード例 #1
0
 protected virtual void OnVerboseMessage(VerboseEvent verboseEvent)
 {
     var handler = VerboseReport;
     if (handler != null) handler(this, verboseEvent);
 }
コード例 #2
0
 public void VerboseMessage(string jobId, VerboseEvent message)
 {
     Clients.Group(jobId).VerboseMessage(jobId, message);
 }
コード例 #3
0
 private void HandleJobVerboseMessage(object sender, VerboseEvent e)
 {
     var job = (Job)sender;
     _hubContext.Clients.Group(job.Id).VerboseMessage(job.Id, e);
 }