protected virtual void Dispose(bool disposing) { if (!disposing || network == null) { return; } network.Dispose(); network = null; }
public StatusIoClient(StatusIoConfiguration configuration) { Configuration = configuration; network = new StatusIoNetwork(configuration); components = new ComponentApi(this); incidents = new IncidentApi(this); maintenance = new MaintenanceApi(this); metrics = new MetricApi(this); status = new StatusApi(this); subscribers = new SubscriberApi(this); }