Project.GetSourceGeneratedDocumentsAsync(CancellationToken) 方法

定义

获取此项目中所有源生成的文档。

public System.Threading.Tasks.ValueTask<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SourceGeneratedDocument>> GetSourceGeneratedDocumentsAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetSourceGeneratedDocumentsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<seq<Microsoft.CodeAnalysis.SourceGeneratedDocument>>
Public Function GetSourceGeneratedDocumentsAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of IEnumerable(Of SourceGeneratedDocument))

参数

cancellationToken
CancellationToken

返回

适用于