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