public CreateProject ( string type, MonoDevelop.Projects.ProjectCreateInformation info, |
||
type | string | |
info | MonoDevelop.Projects.ProjectCreateInformation | |
projectOptions | ||
return |
public Project CreateProject (string type, ProjectCreateInformation info, XmlElement projectOptions)
{
foreach (ProjectBindingCodon projectBinding in projectBindings) {
if (projectBinding.ProjectBinding.Name == type) {
Project project = projectBinding.ProjectBinding.CreateProject (info, projectOptions);
return project;
}
}
throw new InvalidOperationException ("Project type '" + type + "' not found");
}