public ProductBuild(LibraryManifest currManifest, string buildPath) { buildLogfile = ""; buildLogfileLock = new Object(); buildTimes = new StringCollection(); libraryManifest = currManifest; string buildDefinitionFile = ProductBuildDataSet.GetBuildConfigurationFilename(buildPath); pbDataSet = ProductBuildDataSet.ReadBuildConfigurationFile(buildDefinitionFile); }
public static ArrayList GetFilteredComplist(string buildPath, string filterString) { string buildDefinitionFile = ProductBuildDataSet.GetBuildConfigurationFilename(buildPath); ProductBuildDataSet pbDataSet = ProductBuildDataSet.ReadBuildConfigurationFile(buildDefinitionFile); ArrayList filteredComplist = new ArrayList(); DataRow[] complistRows = pbDataSet.Tables[on.Component].Select(filterString); foreach (DataRow complistRow in complistRows) { filteredComplist.Add(complistRow[on.Component_Descriptor]); } return(filteredComplist); }