/// <summary> /// Helper method to support resource disposal. /// </summary> /// <param name="disposing">Indicates the source of the dispose call.</param> protected virtual void Dispose(bool disposing) { if (!_disposed) { if (disposing) { if (_wsProxy != null) { _wsProxy.Dispose(); } } } _disposed = true; }