共用方式為


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

傳回

適用於