diff --git a/examples/Kentico.Xperience.UMT.Examples/Samples/ContentItemSimplifiedSamples.cs b/examples/Kentico.Xperience.UMT.Examples/Samples/ContentItemSimplifiedSamples.cs index e8be95a..f317fd3 100644 --- a/examples/Kentico.Xperience.UMT.Examples/Samples/ContentItemSimplifiedSamples.cs +++ b/examples/Kentico.Xperience.UMT.Examples/Samples/ContentItemSimplifiedSamples.cs @@ -1,5 +1,6 @@ using CMS.ContentEngine; +using Kentico.Xperience.UMT.Examples.Utils; using Kentico.Xperience.UMT.Model; using Kentico.Xperience.UMT.Utils; diff --git a/examples/Kentico.Xperience.UMT.Examples/Utils/LanguageExtensions.cs b/examples/Kentico.Xperience.UMT.Examples/Utils/LanguageExtensions.cs new file mode 100644 index 0000000..d07d5c3 --- /dev/null +++ b/examples/Kentico.Xperience.UMT.Examples/Utils/LanguageExtensions.cs @@ -0,0 +1,11 @@ +namespace Kentico.Xperience.UMT.Examples.Utils +{ + internal static class LanguageExtensions + { + internal static T Apply(this T subject, Action transformation) + { + transformation(subject); + return subject; + } + } +} diff --git a/src/Kentico.Xperience.UMT/Utils/LanguageExtensions.cs b/src/Kentico.Xperience.UMT/Utils/LanguageExtensions.cs index ae3ff1f..9c73e64 100644 --- a/src/Kentico.Xperience.UMT/Utils/LanguageExtensions.cs +++ b/src/Kentico.Xperience.UMT/Utils/LanguageExtensions.cs @@ -1,8 +1,8 @@ namespace Kentico.Xperience.UMT.Utils { - public static class LanguageExtensions + internal static class LanguageExtensions { - public static T Apply(this T subject, Action transformation) + internal static T Apply(this T subject, Action transformation) { transformation(subject); return subject;