diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-01-20 19:32:53 +0400 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2014-10-21 18:39:14 +0400 |
commit | f73b2a9990495587d514aa1856919c21170a3940 (patch) | |
tree | 9842411ee8644ead5915a715ee7e53984a601df4 /main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs | |
parent | a2046b6331a271e8203df7d3d0f14500d33d60fa (diff) |
Initial drop of the new project model
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs index 074bcc8d0d..4d8ce0d6be 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyBag.cs @@ -42,7 +42,7 @@ namespace MonoDevelop.Projects.Policies [DataItem ("Policies")] public class PolicyBag: PolicyContainer, ICustomDataItem { - public PolicyBag (SolutionItem owner) + public PolicyBag (SolutionFolderItem owner) { this.Owner = owner; } @@ -51,7 +51,7 @@ namespace MonoDevelop.Projects.Policies { } - public SolutionItem Owner { get; internal set; } + public SolutionFolderItem Owner { get; internal set; } public override bool IsRoot { get { return Owner == null || Owner.ParentFolder == null; } @@ -107,7 +107,7 @@ namespace MonoDevelop.Projects.Policies { SolutionFolder solFol = Owner as SolutionFolder; if (solFol != null) - foreach (SolutionItem item in solFol.Items) + foreach (SolutionFolderItem item in solFol.Items) if (!item.Policies.DirectHas (args.PolicyType, args.Scope)) item.Policies.OnPolicyChanged (args.PolicyType, args.Scope); } |