From a39a0c7dc90582abac0e03b8d630a1775b21d09c Mon Sep 17 00:00:00 2001 From: "Atsuta, Ivan" Date: Tue, 24 Feb 2026 16:38:32 +0100 Subject: [PATCH 1/2] upd libs --- src/Directory.Packages.props | 10 +++++----- .../DALListeners/UpdateDeepLevelService.cs | 6 ++++-- src/__SolutionItems/CommonAssemblyInfo.cs | 6 +++--- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index ab8e7f079..b95444ed9 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -20,11 +20,11 @@ - - + + - - + + @@ -59,7 +59,7 @@ - + diff --git a/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs b/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs index c7bf53ddd..9dc1bba40 100644 --- a/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs +++ b/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs @@ -7,14 +7,16 @@ namespace Framework.DomainDriven.ApplicationCore.DALListeners; public class UpdateDeepLevelService( - IDomainObjectExpander domainObjectExpander, + IDomainObjectExpanderFactory domainObjectExpanderFactory, HierarchicalInfo hierarchicalInfo, DeepLevelInfo deepLevelInfo) : IUpdateDeepLevelService where TDomainObject : class { + private readonly IDomainObjectExpander domainObjectExpander = domainObjectExpanderFactory.Create(); + public async Task UpdateDeepLevels(IEnumerable domainObjects, CancellationToken cancellationToken) { - foreach (var domainObject in await domainObjectExpander.GetAllChildren(domainObjects, cancellationToken)) + foreach (var domainObject in await this.domainObjectExpander.GetAllChildren(domainObjects, cancellationToken)) { deepLevelInfo.Setter.Invoke( domainObject, diff --git a/src/__SolutionItems/CommonAssemblyInfo.cs b/src/__SolutionItems/CommonAssemblyInfo.cs index f64b6a5a8..9921fd59e 100644 --- a/src/__SolutionItems/CommonAssemblyInfo.cs +++ b/src/__SolutionItems/CommonAssemblyInfo.cs @@ -4,9 +4,9 @@ [assembly: AssemblyCompany("Luxoft")] [assembly: AssemblyCopyright("Copyright © Luxoft 2009-2026")] -[assembly: AssemblyVersion("25.4.9.0")] -[assembly: AssemblyFileVersion("25.4.9.0")] -[assembly: AssemblyInformationalVersion("25.4.9.0")] +[assembly: AssemblyVersion("25.5.0.0")] +[assembly: AssemblyFileVersion("25.5.0.0")] +[assembly: AssemblyInformationalVersion("25.5.0.0")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] From 56f75c7a22cdd2451bdb5c18c388939fb8ac0537 Mon Sep 17 00:00:00 2001 From: "Atsuta, Ivan" Date: Tue, 24 Feb 2026 16:50:00 +0100 Subject: [PATCH 2/2] upd --- .../DALListeners/UpdateDeepLevelService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs b/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs index 9dc1bba40..5025f46f3 100644 --- a/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs +++ b/src/_DomainDriven/Framework.DomainDriven.ApplicationCore/DALListeners/UpdateDeepLevelService.cs @@ -12,11 +12,9 @@ public class UpdateDeepLevelService( DeepLevelInfo deepLevelInfo) : IUpdateDeepLevelService where TDomainObject : class { - private readonly IDomainObjectExpander domainObjectExpander = domainObjectExpanderFactory.Create(); - public async Task UpdateDeepLevels(IEnumerable domainObjects, CancellationToken cancellationToken) { - foreach (var domainObject in await this.domainObjectExpander.GetAllChildren(domainObjects, cancellationToken)) + foreach (var domainObject in await domainObjectExpanderFactory.Create().GetAllChildren(domainObjects, cancellationToken)) { deepLevelInfo.Setter.Invoke( domainObject,