Exemplo n.º 1
0
        public void Dispose()
        {
            if (_isDisposed)
            {
                throw new ObjectDisposedException("FimClient");
            }
            _isDisposed = true;

            _log.Debug("Disposing FIM client by user {0}", System.Threading.Thread.CurrentPrincipal.Identity.Name);

            _defaultClient.Dispose();
            _defaultClient = null;
            _pagedQueriesClient.Close();
            _pagedQueriesClient = null;
        }