Пример #1
0
        /// <summary>
        /// Performs the document analysis, after the <see cref="AnalysisStartDelay"/> exceeded.
        /// </summary>
        private void Analysis()
        {
            var document = _textView.GetDocument();

            AnalyzeCodeStructureAsync(document)
            .ContinueWith(t => AnalysisFinished?.Invoke(this, EventArgs.Empty), TaskContinuationOptions.OnlyOnRanToCompletion)
            .ConfigureAwait(false);
        }