Share via


FileChange Class

The [FileChange] class represents the changes for one file.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public NotInheritable Class FileChange
'Usage
Dim instance As FileChange
public sealed class FileChange
public ref class FileChange sealed
public final class FileChange
[<SealedAttribute>]
type FileChange =  class end

Remarks

The changes for the file can be from different [RefactoringContributor] objects and from different [RefactoringPreviewGroup] objects. After [RefactoringContributorManager] returns a list of [ChangeProposal] objects, the [RefactorOperation] will group those changes into a list of [FileChange] objects. The [RefactorOperation] will use this list of [FileChange] objects to apply changes to each file. It will also convert this list to a list of [PreviewChangesNode] objects, and then it will display the changes in the Preview dialog box.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Project.Refactoring.FileChange

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FileChange Members

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace