protected virtual void Dispose(bool disposing) { if (this.disposed) { return; } this.disposed = true; if (disposing) { // Free managed resources if (this.Client != null) { this.Client.Dispose(); this.Client = null; } if (this.Reports != null) { this.Reports = null; } if (this.Workspaces != null) { this.Workspaces = null; } if (this.Datasets != null) { this.Datasets = null; } } }
private void InitializeClients() { this.Reports = new ReportsClient(this.Client); this.Workspaces = new WorkspacesClient(this.Client); this.Datasets = new DatasetsClient(this.Client); }