コード例 #1
0
 protected virtual void HandleStateChange(NotificationRequest request, AlertHistory alertHistory)
 {
     alertHistory.InjectFrom <LoopValueInjection>(request.Notification);
     alertHistory.Received = DateTime.UtcNow;
 }
コード例 #2
0
 protected virtual void HandleFirstAlert(NotificationRequest request, AlertHistory alertHistory)
 {
     alertHistory.InjectFrom <LoopValueInjection>(request.Notification);
     History.Add(GetKey(request), alertHistory);
 }