src/Misc/EFTools/DesignXmlCore/Refactoring/PreviewChangesNodeBuilder.cs
/// <summary>
///     Creates a list of preview nodes to be displayed in the refactoring preview dialog.
/// </summary>
/// <param name="fileChanges">List of all file-based change proposals</param>
/// <returns></returns>
Creates a list of preview nodes to be displayed in the refactoring preview dialog.
Creates a list of preview nodes to be displayed in the refactoring preview dialog .
internal virtual IList<PreviewChangesNode> Build(IList<FileChange> fileChanges)
        {
            var previews = new List<PreviewChangesNode>();
            if (fileChanges != null)
            {
                previews.AddRange(CreatePreviewNodesForVsLang(fileChanges));
            }
            return previews;
        }
internal virtual IList < PreviewChangesNode > Build ( IList < FileChange > fileChanges ) { var previews = new List < PreviewChangesNode > ( ) ; if ( fileChanges != null ) { previews . AddRange ( CreatePreviewNodesForVsLang ( fileChanges ) ) ; } return previews ; }
Creates a list of preview nodes to be displayed in the refactoring preview dialog.
Creates a list of preview nodes to be displayed in the refactoring preview dialog .
// Loop through all file changes, create related preview group nodes under different projects. // VsLang nodes should appear after T-Sql nodes
None
fileChanges
IList<FileChange>
List of all file-based change proposals
List of all file - based change proposals