ITodoCommentsListener.cs 717 字节
Newer Older
J
Jonathon Marolf 已提交
1 2 3
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
4

C
Cyrus Najmabadi 已提交
5 6
#nullable enable

C
Cyrus Najmabadi 已提交
7
using System.Collections.Immutable;
8
using System.Threading;
9 10
using System.Threading.Tasks;

C
Work  
Cyrus Najmabadi 已提交
11
namespace Microsoft.CodeAnalysis.TodoComments
12 13
{
    /// <summary>
C
Cyrus Najmabadi 已提交
14
    /// Callback the host (VS) passes to the OOP service to allow it to send batch notifications about todo comments.
15
    /// </summary>
C
Cyrus Najmabadi 已提交
16
    internal interface ITodoCommentsListener
17
    {
C
Cyrus Najmabadi 已提交
18
        Task ReportTodoCommentDataAsync(DocumentId documentId, ImmutableArray<TodoCommentData> data, CancellationToken cancellationToken);
19 20
    }
}