Beispiel #1
0
 /// <summary>
 /// Dispose of resources.
 /// </summary>
 /// <param name="disposing">Disposing.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_ClusterServer != null)
         {
             _ClusterServer.Dispose();
         }
         if (_ClusterClient != null)
         {
             _ClusterClient.Dispose();
         }
     }
 }
Beispiel #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (Server != null)
         {
             Server.Dispose();
         }
         if (Client != null)
         {
             Client.Dispose();
         }
     }
 }