public Task DeactivatingAsync()
 {
     _deactivatingActivity = ClaptrapActivitySource.Instance.StartActivity(Deactivate)
                             .AddClaptrapTags(_claptrapDesign, _identity);
     _deactivationTimer = ClaptrapMetrics.MeasureDeactivation(_identity);
     return(Task.CompletedTask);
 }
示例#2
0
 public Task DeactivatingAsync()
 {
     _deactivationTimer = ClaptrapMetrics.MeasureDeactivation(_identity);
     return(Task.CompletedTask);
 }