protected virtual void Dispose(bool disposing) { if (disposing) { _logAnalyticsClient.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_logAnalyticsClient != null) { _logAnalyticsClient.Dispose(); _logAnalyticsClient = null; } if (_listener != null) { _listener.Dispose(); _listener = null; } } }
public void Dispose() { _logAnalyticsClient.Dispose(); _listener.Dispose(); }