Share via


ProjectChanges 結構

定義

public value class ProjectChanges
public struct ProjectChanges
public readonly struct ProjectChanges
type ProjectChanges = struct
Public Structure ProjectChanges
繼承
ProjectChanges

屬性

NewProject
OldProject
ProjectId

方法

GetAddedAdditionalDocuments()

取得 DocumentId 新增的重複資料檔案,其順序為 。 DocumentIdsNewProject

GetAddedAnalyzerConfigDocuments()

取得 DocumentId 新增的分析器組態檔,其順序為 。 DocumentIdsNewProject

GetAddedAnalyzerReferences()
GetAddedDocuments()

DocumentId 其出現在 的順序取得 DocumentIdsNewProject 已新增檔的 。

GetAddedMetadataReferences()
GetAddedProjectReferences()
GetChangedAdditionalDocuments()

取得 DocumentId 具有任何變更的其他檔, (文字和非文字) 的順序顯示 DocumentIdsNewProject

GetChangedAnalyzerConfigDocuments()

取得 DocumentId 分析器設定檔,其中包含任何變更, (文字和非文字) 的順序顯示 DocumentIdsNewProject

GetChangedDocuments()

取得 DocumentId 具有任何變更的檔, (文字和非文字) 的順序顯示 DocumentIdsNewProject

GetChangedDocuments(Boolean)

依其出現在 的順序取得 DocumentIdsNewProject 已變更的檔。 如果 onlyGetDocumentsWithTextChanges 為 true,則只會取得具有文字變更的檔 (我們只會檢查文字來源,而不是實際的內容) ;否則會取得具有任何變更的檔,例如 ParseOptionsSourceCodeKind 檔案路徑。

GetRemovedAdditionalDocuments()

依照 DocumentId 其出現在 DocumentIdsOldProject 的順序取得已移除的其他檔。

GetRemovedAnalyzerConfigDocuments()

取得 DocumentId 已移除的分析器組態檔,其顯示順序為 DocumentIdsOldProject

GetRemovedAnalyzerReferences()
GetRemovedDocuments()

DocumentId 其出現在 的順序取得 DocumentIdsOldProject 已移除的檔。

GetRemovedMetadataReferences()
GetRemovedProjectReferences()

適用於