From 4649373a3d5ccef7a48b891bc359190c8eec2644 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 4 Jan 2023 15:45:03 +0300 Subject: [PATCH] 20230104 --- anbs_cp/Classes/ActionState.cs | 5 ++++- anbs_cp/anbs_cp.csproj | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/anbs_cp/Classes/ActionState.cs b/anbs_cp/Classes/ActionState.cs index c53a9c7..8cda85b 100644 --- a/anbs_cp/Classes/ActionState.cs +++ b/anbs_cp/Classes/ActionState.cs @@ -4,6 +4,9 @@ namespace anbs_cp.Classes; /// /// Состояние действия +/// +/// Обновлено 2023.01.104.1: +/// * Убрана ошибка с рекурсивным вызовом AddError /// public sealed class ActionState { @@ -80,7 +83,7 @@ public sealed class ActionState /// Ошибка // ReSharper disable once MemberCanBeMadeStatic.Global // ReSharper disable once FunctionRecursiveOnAllPaths - public void AddError (IActionError error) => AddError(error); + public void AddError (IActionError error) => Errors.Add(error); /// /// Добавляет ошибки в список diff --git a/anbs_cp/anbs_cp.csproj b/anbs_cp/anbs_cp.csproj index def1039..4033045 100644 --- a/anbs_cp/anbs_cp.csproj +++ b/anbs_cp/anbs_cp.csproj @@ -2,7 +2,7 @@ net7.0 - 2023.102.0 + 2023.104.1 Alexander Babaev ANB Software Components Pack Library of some useful functions in C# language. @@ -15,8 +15,8 @@ True https://git.babaev-an.ru/babaev-an/anbsoftware_componentspack https://git.babaev-an.ru/babaev-an/anbsoftware_componentspack - 2023.102.0 - 2023.102.0 + 2023.104.1 + 2023.104.1 ANBSoftware.ComponentsPack MIT 6.0