예제 #1
0
        /// <inheritdoc />
        public IKustoOptionsBuilder WithBufferOptions(BufferedClientOptions options)
        {
            if (_optionsSet)
            {
                throw new InvalidOperationException("You can only set options once, and this Kusto Options Builder already has options set.");
            }

            _optionsSet   = true;
            BufferOptions = options;

            return(this);
        }
예제 #2
0
 internal KustoOptionsBuilder(Action <KustoOptionsBuilder>?onBuild = null)
 {
     _onBuild      = onBuild;
     BufferOptions = new BufferedClientOptions();
 }