Exemplo n.º 1
0
 protected virtual void HandleStateChange(NotificationRequest request, AlertHistory alertHistory)
 {
     alertHistory.InjectFrom <LoopValueInjection>(request.Notification);
     alertHistory.Received = DateTime.UtcNow;
 }
Exemplo n.º 2
0
 protected virtual void HandleFirstAlert(NotificationRequest request, AlertHistory alertHistory)
 {
     alertHistory.InjectFrom <LoopValueInjection>(request.Notification);
     History.Add(GetKey(request), alertHistory);
 }