Skip to content

Commit

Permalink
fix(Lucene): mark storages as internal, add internal visibility of .C…
Browse files Browse the repository at this point in the history
…ore to .Admin
  • Loading branch information
bkapustik committed Apr 26, 2024
1 parent dc55731 commit 9d8cbfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Kentico.Xperience.Lucene.Core.Indexing;

public static class AnalyzerStorage
internal static class AnalyzerStorage
{
public static Dictionary<string, Type> Analyzers { get; private set; }
public static LuceneVersion AnalyzerLuceneVersion { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Kentico.Xperience.Lucene.Core.Indexing;

public static class StrategyStorage
internal static class StrategyStorage
{
public static Dictionary<string, Type> Strategies { get; private set; }
static StrategyStorage() => Strategies = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<AssemblyAttribute Include="CMS.AssemblyDiscoverableAttribute">
</AssemblyAttribute>
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
<InternalsVisibleTo Include="Kentico.Xperience.Lucene.Admin" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9d8cbfb

Please sign in to comment.