Пример #1
0
 public BudgetCostHandle(CallChargeType callChargeType, ResourceHealthTracker ownerTracker)
 {
     this.callChargeType = callChargeType;
     this.ownerTracker   = ownerTracker;
     if (this.ownerTracker != null)
     {
         this.ownerTracker.EnterContext(this);
     }
 }
Пример #2
0
 public IDisposable Start(CallChargeType callChargeType)
 {
     return(new ResourceHealthTracker.BudgetCostHandle(callChargeType, this));
 }