private void InitializeClients() { this.Reports = new ReportsClient(this.Client); this.Workspaces = new WorkspacesClient(this.Client); this.Datasets = new DatasetsClient(this.Client); this.Admin = new AdminClient(this.Client); this.Capacities = new CapacityClient(this.Client); }
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.Gateways != null) { this.Gateways = null; } if (this.Reports != null) { this.Reports = null; } if (this.Workspaces != null) { this.Workspaces = null; } if (this.Datasets != null) { this.Datasets = null; } if (this.Admin != null) { this.Admin = null; } if (this.Capacities != null) { this.Capacities = null; } } }