public BudgetCostHandle(CallChargeType callChargeType, ResourceHealthTracker ownerTracker) { this.callChargeType = callChargeType; this.ownerTracker = ownerTracker; if (this.ownerTracker != null) { this.ownerTracker.EnterContext(this); } }
public IDisposable Start(CallChargeType callChargeType) { return(new ResourceHealthTracker.BudgetCostHandle(callChargeType, this)); }