diff --git a/Fronter.NET/Extensions/NotificationMessageBuilderExtensions.cs b/Fronter.NET/Extensions/NotificationMessageBuilderExtensions.cs index 5f62f68a..31c331f1 100644 --- a/Fronter.NET/Extensions/NotificationMessageBuilderExtensions.cs +++ b/Fronter.NET/Extensions/NotificationMessageBuilderExtensions.cs @@ -5,7 +5,7 @@ namespace Fronter.Extensions; -public static class NotificationMessageBuilderExtensions { +internal static class NotificationMessageBuilderExtensions { public static NotificationMessageBuilder CreateError(this INotificationMessageManager manager) { return manager .CreateMessage() diff --git a/Fronter.NET/Extensions/TranslationSource.cs b/Fronter.NET/Extensions/TranslationSource.cs index 290602b3..7e114725 100644 --- a/Fronter.NET/Extensions/TranslationSource.cs +++ b/Fronter.NET/Extensions/TranslationSource.cs @@ -10,7 +10,7 @@ namespace Fronter.Extensions; // idea based on https://gist.github.com/jakubfijalkowski/0771bfbd26ce68456d3e -public sealed partial class TranslationSource : ReactiveObject { +internal sealed partial class TranslationSource : ReactiveObject { private static readonly ILog logger = LogManager.GetLogger("Translator"); private TranslationSource() { const string languagesPath = "languages.txt"; @@ -148,7 +148,7 @@ private void LoadLanguages() { } } - public IList LoadedLanguages { get; } = []; + public List LoadedLanguages { get; } = []; private readonly Dictionary languages = []; private readonly Dictionary> translations = []; // key, diff --git a/Fronter.NET/Fronter.csproj b/Fronter.NET/Fronter.csproj index abd80b23..95207ce3 100644 --- a/Fronter.NET/Fronter.csproj +++ b/Fronter.NET/Fronter.csproj @@ -95,4 +95,8 @@ + + + + diff --git a/Fronter.NET/Models/Configuration/Config.cs b/Fronter.NET/Models/Configuration/Config.cs index a84fb801..fac6b8bf 100644 --- a/Fronter.NET/Models/Configuration/Config.cs +++ b/Fronter.NET/Models/Configuration/Config.cs @@ -11,7 +11,7 @@ namespace Fronter.Models.Configuration; -public sealed class Config { +internal sealed class Config { public string Name { get; private set; } = string.Empty; public string ConverterFolder { get; private set; } = string.Empty; public string BackendExePath { get; private set; } = string.Empty; // relative to ConverterFolder @@ -28,9 +28,9 @@ public sealed class Config { public string ConverterReleaseForumThread { get; private set; } = string.Empty; public string LatestGitHubConverterReleaseUrl { get; private set; } = string.Empty; public string PagesCommitIdUrl { get; private set; } = string.Empty; - public IList RequiredFiles { get; } = new List(); - public IList RequiredFolders { get; } = new List(); - public IList