From 07eed248ebdfd63bfe6a739e5bdee16f820c0789 Mon Sep 17 00:00:00 2001 From: AlxndrVgt Date: Tue, 30 Dec 2025 21:19:41 +0100 Subject: [PATCH 1/3] feat: add extension to register cache --- .../Extensions/ServiceCollectionExtensions.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Caching/Extensions/ServiceCollectionExtensions.cs diff --git a/src/Caching/Extensions/ServiceCollectionExtensions.cs b/src/Caching/Extensions/ServiceCollectionExtensions.cs new file mode 100644 index 0000000..53e1545 --- /dev/null +++ b/src/Caching/Extensions/ServiceCollectionExtensions.cs @@ -0,0 +1,17 @@ +using Avolutions.Baf.Core.Caching.Abstractions; +using Microsoft.Extensions.DependencyInjection; + +namespace Avolutions.Baf.Core.Caching.Extensions; + +public static class ServiceCollectionExtensions +{ + public static IServiceCollection AddCache(this IServiceCollection services) + where TInterface : class, ICache + where TImplementation : class, TInterface + { + services.AddSingleton(); + services.AddSingleton(sp => sp.GetRequiredService()); + services.AddSingleton(sp => sp.GetRequiredService()); + return services; + } +} \ No newline at end of file From 589f465219330210e41a6e778fa92f3d906e0652 Mon Sep 17 00:00:00 2001 From: AlxndrVgt Date: Tue, 30 Dec 2025 21:20:11 +0100 Subject: [PATCH 2/3] feat: add translation for select button --- src/Resources/SharedResources.de.Designer.cs | 9 +++++++++ src/Resources/SharedResources.de.resx | 3 +++ 2 files changed, 12 insertions(+) diff --git a/src/Resources/SharedResources.de.Designer.cs b/src/Resources/SharedResources.de.Designer.cs index 6ffdb6a..38a7547 100644 --- a/src/Resources/SharedResources.de.Designer.cs +++ b/src/Resources/SharedResources.de.Designer.cs @@ -167,6 +167,15 @@ internal static string Button_Save { } } + /// + /// Looks up a localized string similar to auswählen. + /// + internal static string Button_Select { + get { + return ResourceManager.GetString("Button.Select", resourceCulture); + } + } + /// /// Looks up a localized string similar to ja. /// diff --git a/src/Resources/SharedResources.de.resx b/src/Resources/SharedResources.de.resx index aa60a93..3d5e699 100644 --- a/src/Resources/SharedResources.de.resx +++ b/src/Resources/SharedResources.de.resx @@ -60,4 +60,7 @@ {0} erfassen + + auswählen + \ No newline at end of file From 9bcf534ac893b661a914320e7efaa57c0a3ff901 Mon Sep 17 00:00:00 2001 From: AlxndrVgt Date: Wed, 31 Dec 2025 12:48:24 +0100 Subject: [PATCH 3/3] chore: set version to 0.19.0 --- src/Avolutions.Baf.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avolutions.Baf.Core.csproj b/src/Avolutions.Baf.Core.csproj index d1622ae..fd7dd71 100644 --- a/src/Avolutions.Baf.Core.csproj +++ b/src/Avolutions.Baf.Core.csproj @@ -6,7 +6,7 @@ enable Avolutions.Baf.Core - 0.18.0 + 0.19.0 Avolutions BAF Core Avolutions