예제 #1
0
 public virtual Task <object> GetDescriptionAsync(
     IAsyncCompletionSession session,
     CompletionItem item,
     CancellationToken token)
 {
     return(item.GetDocumentationAsync(session, token));
 }
        protected async Task AssertDescription(string expected, CompletionItem item)
        {
            var description = (ClassifiedTextElement)await item.GetDocumentationAsync(null, default);

            Assert.AreEqual(expected, description.Runs.First().Text);
        }