Esempio n. 1
0
        /// <summary>
        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
        /// </summary>
        /// <remarks>
        /// <para>Once disposed, calls to most methods on this object with throw <see cref="ObjectDisposedException"/>.</para>
        /// <para>This method is safe to call multiple times in series. It is not guarateed to call in parallel, though no known issues exist.</para>
        /// </remarks>
        public void Dispose()
        {
            if (_IsDisposed)
            {
                return;
            }

            _IsDisposed = true;
            _Client?.Dispose();
            _RequestWriter?.Dispose();
            _SignatureGenerator?.Dispose();
        }