1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Collections.Generic;
6
using ICSharpCode.SharpDevelop.Project;
7
using Microsoft.Build.Construction;
9
namespace ICSharpCode.PackageManagement.EnvDTE
11
public class ProjectPropertyFactory : IPropertyFactory
15
public ProjectPropertyFactory(Project project)
17
this.project = project;
20
public Property CreateProperty(string name)
22
return new ProjectProperty(project, name);
25
public IEnumerator<Property> GetEnumerator()
27
foreach (string propertyName in project.GetAllPropertyNames()) {
28
yield return CreateProperty(propertyName);