Exemple #1
0
 internal Product(XmlNode node, string code, ProductValidationResults validationResults, string copyAll)
 {
     _node = node;
     _packages = new PackageCollection();
     _includes = new ProductCollection();
     _dependencies = new List<List<Product>>();
     _missingDependencies = new ArrayList();
     _productCode = code;
     _validationResults = validationResults;
     _cultures = new Hashtable();
     if (copyAll == "IfNotHomeSite")
         _copyAllPackageFiles = CopyAllFilesType.CopyAllFilesIfNotHomeSite;
     else if (copyAll == "false")
         _copyAllPackageFiles = CopyAllFilesType.CopyAllFilesFalse;
     else
         _copyAllPackageFiles = CopyAllFilesType.CopyAllFilesTrue;
 }
 internal Product(XmlNode node, string code, ProductValidationResults validationResults, string copyAll)
 {
     this.node = node;
     this.packages = new PackageCollection();
     this.includes = new ProductCollection();
     this.dependencies = new List<List<Product>>();
     this.missingDependencies = new ArrayList();
     this.productCode = code;
     this.validationResults = validationResults;
     this.cultures = new Hashtable();
     if (copyAll == "IfNotHomeSite")
     {
         this.copyAllPackageFiles = CopyAllFilesType.CopyAllFilesIfNotHomeSite;
     }
     else if (copyAll == "false")
     {
         this.copyAllPackageFiles = CopyAllFilesType.CopyAllFilesFalse;
     }
     else
     {
         this.copyAllPackageFiles = CopyAllFilesType.CopyAllFilesTrue;
     }
 }