예제 #1
0
        public int ConvertXml(XElement element, int originalVersion)
        {
            _coreConverter63To710.ConvertXml(element);
            element.DescendantsAndSelfNamed("WorkspaceLayoutItem").Each(convertWorkspaceLayoutItem);

            return(ProjectVersions.V7_1_0);
        }
예제 #2
0
        public (int convertedToVersion, bool conversionHappened) ConvertXml(XElement element, int originalVersion)
        {
            var(_, coreConversionHappened) = _coreConverter63To710.ConvertXml(element);
            element.DescendantsAndSelfNamed("WorkspaceLayoutItem").Each(convertWorkspaceLayoutItem);

            return(ProjectVersions.V7_1_0, _converted || coreConversionHappened);
        }