ProjectChanges.GetChangedDocuments 方法

定义

重载

GetChangedDocuments(Boolean)

按更改后显示DocumentIdsNewProject的顺序获取已更改的文档。 如果onlyGetDocumentsWithTextChanges为 true,则仅获取文本更改的文档 (我们只检查文本源,而不是实际内容) ;否则获取具有任何更改的文档,即ParseOptionsSourceCodeKind文件路径。

GetChangedDocuments()

获取DocumentId包含任何更改的文档 (文本和非文本) ,其显示DocumentIdsNewProject顺序为 。

GetChangedDocuments(Boolean)

Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs

按更改后显示DocumentIdsNewProject的顺序获取已更改的文档。 如果onlyGetDocumentsWithTextChanges为 true,则仅获取文本更改的文档 (我们只检查文本源,而不是实际内容) ;否则获取具有任何更改的文档,即ParseOptionsSourceCodeKind文件路径。

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentId ^> ^ GetChangedDocuments(bool onlyGetDocumentsWithTextChanges);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__18))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments (bool onlyGetDocumentsWithTextChanges);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments (bool onlyGetDocumentsWithTextChanges);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__19))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments (bool onlyGetDocumentsWithTextChanges);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__18))>]
member this.GetChangedDocuments : bool -> seq<Microsoft.CodeAnalysis.DocumentId>
member this.GetChangedDocuments : bool -> seq<Microsoft.CodeAnalysis.DocumentId>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__19))>]
member this.GetChangedDocuments : bool -> seq<Microsoft.CodeAnalysis.DocumentId>
Public Iterator Function GetChangedDocuments (onlyGetDocumentsWithTextChanges As Boolean) As IEnumerable(Of DocumentId)
Public Function GetChangedDocuments (onlyGetDocumentsWithTextChanges As Boolean) As IEnumerable(Of DocumentId)

参数

onlyGetDocumentsWithTextChanges
Boolean

返回

属性

适用于

GetChangedDocuments()

Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs

获取DocumentId包含任何更改的文档 (文本和非文本) ,其显示DocumentIdsNewProject顺序为 。

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentId ^> ^ GetChangedDocuments();
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments ();
member this.GetChangedDocuments : unit -> seq<Microsoft.CodeAnalysis.DocumentId>
Public Function GetChangedDocuments () As IEnumerable(Of DocumentId)

返回

适用于