/// <summary> /// 释放资源 /// </summary> /// <param name="isDisposing"></param> protected override void Dispose(bool isDisposing) { if (this.alreadyDisposed) { return; } if (this.pact != null) { this.pact.Dispose(); this.pact = null; } if (this.minFee != null) { this.minFee.Dispose(); this.minFee = null; } if (this.rate != null) { this.rate.Dispose(); this.rate = null; } base.Dispose(isDisposing); this.alreadyDisposed = true; }
/// <summary> /// 释放资源 /// </summary> /// <param name="isDisposing"></param> protected override void Dispose(bool isDisposing) { if (this.alreadyDisposed) { return; } if (this.pactItem != null) { this.pactItem.Dispose(); this.pactItem = null; } if (this.rate != null) { this.rate.Dispose(); this.rate = null; } if (this.operEnvironment != null) { this.operEnvironment.Dispose(); this.operEnvironment = null; } base.Dispose(isDisposing); this.alreadyDisposed = true; }