コード例 #1
0
        /// <inheritdoc />
        public IKustoOptionsBuilder WithDirectClient()
        {
            RegisteredDirectTypes.AddRange(RegisteredTypes);
            RegisteredTypes.Clear();

            return(this);
        }
コード例 #2
0
        /// <inheritdoc />
        public IKustoOptionsBuilder WithQueuedClient()
        {
            RegisteredQueuedTypes.AddRange(RegisteredTypes);
            RegisteredTypes.Clear();

            return(this);
        }
コード例 #3
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>
        private void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                RegisteredTypes.Clear();
            }

            disposed = true;
        }