MonoDevelop.Projects.Formats.MSBuild.MSBuildPropertyGroup.UnMerge C# (CSharp) Méthode

UnMerge() public méthode

public UnMerge ( MSBuildPropertySet baseGrp, ISet propsToExclude ) : void
baseGrp MSBuildPropertySet
propsToExclude ISet
Résultat void
		public void UnMerge(MSBuildPropertySet baseGrp, ISet<string> propsToExclude)
		{
			foreach (MSBuildProperty prop in baseGrp.Properties)
			{
				if (propsToExclude != null && propsToExclude.Contains(prop.Name))
					continue;
				MSBuildProperty thisProp = GetProperty(prop.Name);
				if (thisProp != null && prop.Value.Equals(thisProp.Value, StringComparison.CurrentCultureIgnoreCase))
					RemoveProperty(prop.Name);
			}
		}