Skip to content

Commit

Permalink
Change scope of Apply util method from public to internal
Browse files Browse the repository at this point in the history
Chore: Change scope of Apply util method from public to internal
  • Loading branch information
akfakmot committed Dec 3, 2024
1 parent 1b5f402 commit 3b2b05b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using CMS.ContentEngine;

using Kentico.Xperience.UMT.Examples.Utils;
using Kentico.Xperience.UMT.Model;
using Kentico.Xperience.UMT.Utils;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace Kentico.Xperience.UMT.Examples.Utils
{
internal static class LanguageExtensions
{
internal static T Apply<T>(this T subject, Action<T> transformation)
{
transformation(subject);
return subject;
}
}
}
4 changes: 2 additions & 2 deletions src/Kentico.Xperience.UMT/Utils/LanguageExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace Kentico.Xperience.UMT.Utils
{
public static class LanguageExtensions
internal static class LanguageExtensions
{
public static T Apply<T>(this T subject, Action<T> transformation)
internal static T Apply<T>(this T subject, Action<T> transformation)
{
transformation(subject);
return subject;
Expand Down

0 comments on commit 3b2b05b

Please sign in to comment.