示例#1
0
        /// <summary>
        /// Test entry
        /// </summary>
        /// <param name="xml"></param>
        /// <param name="log"></param>
        /// <returns></returns>
        private static Manifest Parse(XmlDocument xml, bool log)
        {
            var manifest = new Manifest();

            ParseHead(xml, manifest);
            manifest.CheckPrerequisits(log);
            ParseSteps(xml, manifest);

            return(manifest);
        }
示例#2
0
        /// <summary>Test entry</summary>
        private static Manifest Parse(XmlDocument xml, int currentPhase, bool log)
        {
            var manifest = new Manifest();

            ParseHead(xml, manifest);
            manifest.CheckPrerequisits(log);
            ParseParameters(xml, manifest);
            ParseSteps(xml, manifest, currentPhase);

            return(manifest);
        }
示例#3
0
        /// <summary>Test entry</summary>
        internal static Manifest Parse(XmlDocument xml, int currentPhase, bool log, PackageParameter[] packageParameters, bool forcedReinstall = false, bool editConnectionString = false)
        {
            var manifest = new Manifest();

            manifest.ManifestXml = xml;

            ParseHead(xml, manifest);
            ParseParameters(xml, manifest);
            manifest.CheckPrerequisits(packageParameters, forcedReinstall, log, editConnectionString);
            ParseSteps(xml, manifest, currentPhase);

            return(manifest);
        }