共用方式為


ProjectDependencyGraph.GetDependencySets(CancellationToken) 方法

定義

傳回集合序列,其中每個集合都包含共用相依性的專案,而且集合之間沒有相依性。 每個傳回的集合都會依拓撲順序排序。

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

參數

cancellationToken
CancellationToken

傳回

適用於