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; }
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); }