Пример #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposing || network == null)
     {
         return;
     }
     network.Dispose();
     network = null;
 }
Пример #2
0
        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);
        }