public XmlDocument BuildPackageFile()
        {
            SMALGit migrationassist = new SMALGit(_workingDirectory, _gitCommit);

            IEnumerable<Change> changes = migrationassist.GetTreeChanges(_gitBranch);

            var enumerable = changes as IList<Change> ?? changes.ToList();
            if (enumerable.Any())
            {
                XmlDocument output = GeneratePackageFile.GenerateOutputXml(enumerable);

                return output;
            }

            return null;
        }
Beispiel #2
0
        public XmlDocument BuildPackageFile()
        {
            SMALGit migrationassist = new SMALGit(_workingDirectory, _gitCommit);

            IEnumerable <Change> changes = migrationassist.GetTreeChanges(_gitBranch);

            var enumerable = changes as IList <Change> ?? changes.ToList();

            if (enumerable.Any())
            {
                XmlDocument output = GeneratePackageFile.GenerateOutputXml(enumerable);

                return(output);
            }

            return(null);
        }