From 7f107a8559f17f23453d1f3076b696931d249fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn?= Date: Sat, 29 Sep 2018 17:42:45 +0200 Subject: [PATCH] Make TagSupport and related types public #2988 --- src/Umbraco.Core/Models/Property.cs | 4 ++-- src/Umbraco.Core/Models/PropertyTagBehavior.cs | 4 ++-- src/Umbraco.Core/Models/PropertyTags.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Umbraco.Core/Models/Property.cs b/src/Umbraco.Core/Models/Property.cs index 5df2eaae90..25ad161a1a 100644 --- a/src/Umbraco.Core/Models/Property.cs +++ b/src/Umbraco.Core/Models/Property.cs @@ -83,7 +83,7 @@ namespace Umbraco.Core.Models /// /// Returns the instance of the tag support, by default tags are not enabled /// - internal PropertyTags TagSupport + public PropertyTags TagSupport { get { return _tagSupport; } } @@ -242,4 +242,4 @@ namespace Umbraco.Core.Models return clone; } } -} \ No newline at end of file +} diff --git a/src/Umbraco.Core/Models/PropertyTagBehavior.cs b/src/Umbraco.Core/Models/PropertyTagBehavior.cs index 0a435ebf95..ad20d598a4 100644 --- a/src/Umbraco.Core/Models/PropertyTagBehavior.cs +++ b/src/Umbraco.Core/Models/PropertyTagBehavior.cs @@ -1,9 +1,9 @@ namespace Umbraco.Core.Models { - internal enum PropertyTagBehavior + public enum PropertyTagBehavior { Replace, Remove, Merge } -} \ No newline at end of file +} diff --git a/src/Umbraco.Core/Models/PropertyTags.cs b/src/Umbraco.Core/Models/PropertyTags.cs index 6075502131..22bb4b5caa 100644 --- a/src/Umbraco.Core/Models/PropertyTags.cs +++ b/src/Umbraco.Core/Models/PropertyTags.cs @@ -6,7 +6,7 @@ namespace Umbraco.Core.Models /// /// A property extension class that allows us to enable tags for any given property /// - internal class PropertyTags + public class PropertyTags { public PropertyTags() { @@ -33,4 +33,4 @@ namespace Umbraco.Core.Models public IEnumerable> Tags { get; set; } } -} \ No newline at end of file +}