public ProjectConfig(NUnitProject project, XmlNode configNode) { this.project = project; this.configNode = configNode; this.assemblies = new List<string>(); foreach (XmlNode node in configNode.SelectNodes("assembly")) { string assemblyPath = node.GetAttribute("path"); if (this.EffectiveBasePath != null) assemblyPath = Path.Combine(this.EffectiveBasePath, assemblyPath); this.assemblies.Add(assemblyPath); } }
public ProjectConfig(NUnitProject project, XmlNode configNode) { this.project = project; this.configNode = configNode; this.assemblies = new List <string>(); foreach (XmlNode node in configNode.SelectNodes("assembly")) { string assemblyPath = node.GetAttribute("path"); if (this.EffectiveBasePath != null) { assemblyPath = Path.Combine(this.EffectiveBasePath, assemblyPath); } this.assemblies.Add(assemblyPath); } }
public ProjectConfigList(NUnitProject project) { this.project = project; this.projectNode = project.RootNode; }
public IProject LoadProject(string path) { NUnitProject project = new NUnitProject(); project.Load(path); return project; }