From e42149e8d99d507dc26d34837475830b79c6eb1d Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 22 Apr 2014 10:10:52 +0200 Subject: [PATCH] Detached PublishedProperty remains internal for now --- .../Models/PublishedContent/PublishedPropertyType.cs | 4 ++-- src/Umbraco.Web/Models/DetachedContent.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs b/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs index 14c9d7a4e0..b2645ec30f 100644 --- a/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs +++ b/src/Umbraco.Core/Models/PublishedContent/PublishedPropertyType.cs @@ -396,7 +396,7 @@ namespace Umbraco.Core.Models.PublishedContent /// Only a published property type that has not already been detached or nested, can be detached. /// Use detached published property type when creating detached properties outside of a published content. /// - public PublishedPropertyType Detached() + internal PublishedPropertyType Detached() { // verify if (IsDetachedOrNested) @@ -426,7 +426,7 @@ namespace Umbraco.Core.Models.PublishedContent /// Only a published property type that has not already been detached or nested, can be nested. /// Use nested published property type when creating detached properties within a published content. /// - public PublishedPropertyType Nested(PublishedPropertyType containerType) + internal PublishedPropertyType Nested(PublishedPropertyType containerType) { // verify if (IsDetachedOrNested) diff --git a/src/Umbraco.Web/Models/DetachedContent.cs b/src/Umbraco.Web/Models/DetachedContent.cs index 541e1a5185..e572de656c 100644 --- a/src/Umbraco.Web/Models/DetachedContent.cs +++ b/src/Umbraco.Web/Models/DetachedContent.cs @@ -6,7 +6,7 @@ using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Web.Models { - public class DetachedContent + internal class DetachedContent { private readonly Dictionary _properties;