Пример #1
0
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources.
        /// </summary>
        /// <param name="disposing">
        /// <c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.
        /// </param>
        protected void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    _gremlinClient.Dispose();
                }

                disposedValue = true;
            }
        }
Пример #2
0
 public void Dispose()
 {
     _client?.Dispose();
     _remote?.Dispose();
 }
Пример #3
0
 /// <inheritdoc />
 public void Dispose()
 {
     _client?.Dispose();
 }
Пример #4
0
 public void Dispose()
 {
     _baseClient.Dispose();
 }