示例#1
0
 protected void HandleResult(MonitorResult result)
 {
     try
     {
         Updated?.Invoke(result);
     }
     catch (Exception ex)
     {
         Log.Error("Failed to raise Updated event.", ex);
     }
 }
示例#2
0
 public void Save(MonitorResult result)
 {
     _repository.Save(result);
 }
示例#3
0
 protected abstract void Update(MonitorResult result);