From 3074aa44505d8103255eda71e5d05f194f7c83b3 Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Fri, 2 Oct 2026 21:19:31 -0700 Subject: [PATCH] updated package namespaces sync --- .../CSharp Extension/CHANGELOG.md | 167 +----------------- .../CSharp Extension/CSharp Extension.csproj | 4 +- .../Common/Abstractions/Bases/ObjectBase.cs | 2 +- .../Abstractions/Interfaces/IDisposer.cs | 2 +- .../Common/Enums/ScalarValues.cs | 2 +- .../Common/Extensions/DateTimeExtensions.cs | 2 +- .../Common/Extensions/EnumerableExtension.cs | 2 +- .../Common/Utils/ConsoleUtils.cs | 4 +- .../Common/Utils/FileUtils.cs | 2 +- .../Common/Utils/ObjectUtils.cs | 2 +- .../Common/Utils/RandomUtils.cs | 2 +- .../Common/Utils/SystemUtils.cs | 5 +- .../CSharp Extension/Constants.cs | 2 +- .../Abstractions/Bases/ConverterBase.cs | 4 +- .../Abstractions/Bases/ConverterBaseError.cs | 6 +- .../Bases/ConverterVariantBase.cs | 4 +- .../Abstractions/Interfaces/IConverter.cs | 2 +- .../Interfaces/IConverterVariant.cs | 2 +- .../Errors/Abstractions/Bases/ErrorBase.cs | 7 +- .../Errors/Abstractions/Interfaces/IError.cs | 4 +- .../Errors/Models/ErrorFeedback.cs | 2 +- .../CSharp Extension/Errors/SystemError.cs | 6 +- .../Unit Tests/Utils/SystemUtils_UnitTests.cs | 4 +- 23 files changed, 41 insertions(+), 198 deletions(-) diff --git a/csharp_extension/CSharp Extension/CHANGELOG.md b/csharp_extension/CSharp Extension/CHANGELOG.md index a6d3e99..82f5866 100644 --- a/csharp_extension/CSharp Extension/CHANGELOG.md +++ b/csharp_extension/CSharp Extension/CHANGELOG.md @@ -1,168 +1,9 @@ # CSM Foundation Core CHANGELOG -## [4.0.0] - 19.05-2026 +## [1.2.5] - 02.10-2025 -### Remved +### **Patched** -- Removed [GenericUtils] class cause i only had a method for object clonation, replaced and moved to [ObjectUtils] with the method [Clone]. +Fixes for bugs or problems detected. -- Added new Error concepts and better error handling for some features that weren´t being handled correclty. - -- Added a simplified [ObjectBase] abstraction for non used generic methods. - -- Removed [ObjectBase{TEntity}] cause an utility method was created. - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -## [3.0.0] - 25.12-2025 - -### Remved - -- Removed from errors model [ErrorInfo] since it was only needed when internal errors are exposed to connected services with critical information. - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -## [2.1.1] - 24.12-2025 - -### Changed - -- Changed a SystemUtils method [SetVar] to allow env context target. - -### Added - -- Added a new method to [SystemUtils] named [GetGlobalVar] that maps all available environment variables target contexts to get the value. - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -## [2.1.0] - 22.12-2025 - -### Changed - -- Changed a SystemUtils method [GetVar] to allow env context target. - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -## [2.0.0] - 24.11-2025 - -### Changed - -- Renamed and reorganized the project structure to CSM Foundation Core to better reflect its purpose as a foundational library for CSM systems. -- Changed concept from [Exception] to [Error]. - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -### Removed - -## [1.3.0] - 27.08-2025 - -### Added - -- Added a new [IDIsposer] interface used for disposition managers implementations at CSM systems. - -### Fixed - -### Changed - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -### Removed - -## [1.2.3] - 27.08-2025 - -### Added - -#### [SystemUtils] - -- Added a new method (GetEnv) that gets and returns the current system runtime environment scope. - -### Fixed - -### Changed - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -### Removed - -## [1.2.2] - 13.08-2025 - -### Added - -- [XSystem] a generic base CSM framework exception for the integrated exception management. - -### Fixed - -### Changed - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -### Removed - -- [IException] interface "subject" property got removed to use native .Net Excetion class Message property. - -## [1.2.1] - 13.08-2025 - -### Added - -- [SystemUtils] class that handles easier the way that env vars can be handled. - -### Fixed - -### Changed - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -### Removed - -## [1.1.1] - 06.08-2025 - -### Added - -- [ConsoleUtils] class was added to handle better console printing information. - -### Fixed - -### Changed - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -### Removed +- An error was found with unsynced namespaces when the package got renamed. diff --git a/csharp_extension/CSharp Extension/CSharp Extension.csproj b/csharp_extension/CSharp Extension/CSharp Extension.csproj index 6a041b4..f04e71b 100644 --- a/csharp_extension/CSharp Extension/CSharp Extension.csproj +++ b/csharp_extension/CSharp Extension/CSharp Extension.csproj @@ -3,8 +3,8 @@ net8.0 CSharp_Extension - csm.extension - 1.2.4 + CSharp.Extension + 1.2.5 Renato Urrea Cosmos (CSM) https://github.com/Cosmos-CSM/fe_csharp diff --git a/csharp_extension/CSharp Extension/Common/Abstractions/Bases/ObjectBase.cs b/csharp_extension/CSharp Extension/Common/Abstractions/Bases/ObjectBase.cs index 90847fd..3bab7b9 100644 --- a/csharp_extension/CSharp Extension/Common/Abstractions/Bases/ObjectBase.cs +++ b/csharp_extension/CSharp Extension/Common/Abstractions/Bases/ObjectBase.cs @@ -2,7 +2,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace CSM_Foundation_Core.Common.Abstractions.Bases; +namespace CSharp_Extension.Common.Abstractions.Bases; /// /// Represents an inheritance link between datasource objects diff --git a/csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs b/csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs index 0861d96..1425835 100644 --- a/csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs +++ b/csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Common.Abstractions.Interfaces; +namespace CSharp_Extension.Common.Abstractions.Interfaces; /// /// Represents a disposition manager wich stores objects in their context to be disposed at the end of a process. diff --git a/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs b/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs index ce3f823..f3063a0 100644 --- a/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs +++ b/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Common.Enums; +namespace CSharp_Extension.Common.Enums; /// diff --git a/csharp_extension/CSharp Extension/Common/Extensions/DateTimeExtensions.cs b/csharp_extension/CSharp Extension/Common/Extensions/DateTimeExtensions.cs index 99d72f1..125ca2e 100644 --- a/csharp_extension/CSharp Extension/Common/Extensions/DateTimeExtensions.cs +++ b/csharp_extension/CSharp Extension/Common/Extensions/DateTimeExtensions.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Core.Extensions; +namespace CSharp_Extension.Common.Extensions; /// diff --git a/csharp_extension/CSharp Extension/Common/Extensions/EnumerableExtension.cs b/csharp_extension/CSharp Extension/Common/Extensions/EnumerableExtension.cs index 224dc4a..20ab65f 100644 --- a/csharp_extension/CSharp Extension/Common/Extensions/EnumerableExtension.cs +++ b/csharp_extension/CSharp Extension/Common/Extensions/EnumerableExtension.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Core.Extensions; +namespace CSharp_Extension.Common.Extensions; /// diff --git a/csharp_extension/CSharp Extension/Common/Utils/ConsoleUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/ConsoleUtils.cs index ed067bc..492afd1 100644 --- a/csharp_extension/CSharp Extension/Common/Utils/ConsoleUtils.cs +++ b/csharp_extension/CSharp Extension/Common/Utils/ConsoleUtils.cs @@ -1,11 +1,11 @@ using System.Text.Json; -using CSM_Foundation_Core.Errors.Abstractions.Interfaces; +using CSharp_Extension.Errors.Abstractions.Interfaces; using Detail = System.Collections.Generic.KeyValuePair; using Details = System.Collections.Generic.Dictionary; -namespace CSM_Foundation_Core.Core.Utils; +namespace CSharp_Extension.Common.Utils; /// /// Provides utils methods related with the .Net Console integration. diff --git a/csharp_extension/CSharp Extension/Common/Utils/FileUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/FileUtils.cs index d1b91e5..f37b0c5 100644 --- a/csharp_extension/CSharp Extension/Common/Utils/FileUtils.cs +++ b/csharp_extension/CSharp Extension/Common/Utils/FileUtils.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace CSM_Foundation_Core.Core.Utils; +namespace CSharp_Extension.Common.Utils; /// diff --git a/csharp_extension/CSharp Extension/Common/Utils/ObjectUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/ObjectUtils.cs index 5c75905..5f51aaa 100644 --- a/csharp_extension/CSharp Extension/Common/Utils/ObjectUtils.cs +++ b/csharp_extension/CSharp Extension/Common/Utils/ObjectUtils.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace CSM_Foundation_Core.Core.Utils; +namespace CSharp_Extension.Common.Utils; /// diff --git a/csharp_extension/CSharp Extension/Common/Utils/RandomUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/RandomUtils.cs index 27fda8c..ef049ed 100644 --- a/csharp_extension/CSharp Extension/Common/Utils/RandomUtils.cs +++ b/csharp_extension/CSharp Extension/Common/Utils/RandomUtils.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Core.Utils; +namespace CSharp_Extension.Common.Utils; /// /// Provide randomization utility methods. diff --git a/csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs index 474ecdc..c70912b 100644 --- a/csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs +++ b/csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs @@ -1,6 +1,7 @@ -using CSM_Foundation_Core.Errors.Abstractions.Bases; +using CSharp_Extension; +using CSharp_Extension.Errors.Abstractions.Bases; -namespace CSM_Foundation_Core.Core.Utils; +namespace CSharp_Extension.Common.Utils; /// diff --git a/csharp_extension/CSharp Extension/Constants.cs b/csharp_extension/CSharp Extension/Constants.cs index 00b3b7f..2e46c46 100644 --- a/csharp_extension/CSharp Extension/Constants.cs +++ b/csharp_extension/CSharp Extension/Constants.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core; +namespace CSharp_Extension; /// /// Stores common use constants. diff --git a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs index 3fd46f1..0dc4cbb 100644 --- a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs @@ -1,9 +1,9 @@ using System.Text.Json; using System.Text.Json.Serialization; -using CSM_Foundation_Core.Convertion.Abstractions.Interfaces; +using CSharp_Extension.Convertion.Abstractions.Interfaces; -namespace CSM_Foundation_Core.Convertion.Abstractions.Bases; +namespace CSharp_Extension.Convertion.Abstractions.Bases; /// /// diff --git a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs index 72066a2..fe00e5e 100644 --- a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs @@ -1,7 +1,7 @@ -using CSM_Foundation_Core.Convertion.Abstractions.Interfaces; -using CSM_Foundation_Core.Errors.Abstractions.Bases; +using CSharp_Extension.Convertion.Abstractions.Interfaces; +using CSharp_Extension.Errors.Abstractions.Bases; -namespace CSM_Foundation_Core.Convertion.Abstractions.Bases; +namespace CSharp_Extension.Convertion.Abstractions.Bases; /// /// Exception situations enumerator. diff --git a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterVariantBase.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterVariantBase.cs index 5c20db0..c5f25be 100644 --- a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterVariantBase.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterVariantBase.cs @@ -1,6 +1,6 @@ -using CSM_Foundation_Core.Convertion.Abstractions.Interfaces; +using CSharp_Extension.Convertion.Abstractions.Interfaces; -namespace CSM_Foundation_Core.Convertion.Abstractions.Bases; +namespace CSharp_Extension.Convertion.Abstractions.Bases; /// public abstract class ConverterVariantBase diff --git a/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverter.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverter.cs index e5334aa..a998a28 100644 --- a/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverter.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverter.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Convertion.Abstractions.Interfaces; +namespace CSharp_Extension.Convertion.Abstractions.Interfaces; /// /// Represents a JSON converter. diff --git a/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverterVariant.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverterVariant.cs index c5e9f5f..4a74cad 100644 --- a/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverterVariant.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverterVariant.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; -namespace CSM_Foundation_Core.Convertion.Abstractions.Interfaces; +namespace CSharp_Extension.Convertion.Abstractions.Interfaces; /// /// Represents a handled variant. diff --git a/csharp_extension/CSharp Extension/Errors/Abstractions/Bases/ErrorBase.cs b/csharp_extension/CSharp Extension/Errors/Abstractions/Bases/ErrorBase.cs index 26784c5..f0bf695 100644 --- a/csharp_extension/CSharp Extension/Errors/Abstractions/Bases/ErrorBase.cs +++ b/csharp_extension/CSharp Extension/Errors/Abstractions/Bases/ErrorBase.cs @@ -1,7 +1,8 @@ -using CSM_Foundation_Core.Errors.Abstractions.Interfaces; -using CSM_Foundation_Core.Errors.Models; +using CSharp_Extension; +using CSharp_Extension.Errors.Abstractions.Interfaces; +using CSharp_Extension.Errors.Models; -namespace CSM_Foundation_Core.Errors.Abstractions.Bases; +namespace CSharp_Extension.Errors.Abstractions.Bases; /// /// Represents a CSM Exception thrown by the system. diff --git a/csharp_extension/CSharp Extension/Errors/Abstractions/Interfaces/IError.cs b/csharp_extension/CSharp Extension/Errors/Abstractions/Interfaces/IError.cs index 92e3b09..6153659 100644 --- a/csharp_extension/CSharp Extension/Errors/Abstractions/Interfaces/IError.cs +++ b/csharp_extension/CSharp Extension/Errors/Abstractions/Interfaces/IError.cs @@ -1,8 +1,8 @@ using System.Text.Json.Serialization; -using CSM_Foundation_Core.Errors.Models; +using CSharp_Extension.Errors.Models; -namespace CSM_Foundation_Core.Errors.Abstractions.Interfaces; +namespace CSharp_Extension.Errors.Abstractions.Interfaces; /// /// Represents a CSM Exception thrown by the system. diff --git a/csharp_extension/CSharp Extension/Errors/Models/ErrorFeedback.cs b/csharp_extension/CSharp Extension/Errors/Models/ErrorFeedback.cs index d92460e..cb76964 100644 --- a/csharp_extension/CSharp Extension/Errors/Models/ErrorFeedback.cs +++ b/csharp_extension/CSharp Extension/Errors/Models/ErrorFeedback.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Errors.Models; +namespace CSharp_Extension.Errors.Models; /// /// Enumerates the severity of the exception feedback. diff --git a/csharp_extension/CSharp Extension/Errors/SystemError.cs b/csharp_extension/CSharp Extension/Errors/SystemError.cs index ee7ee75..8662a53 100644 --- a/csharp_extension/CSharp Extension/Errors/SystemError.cs +++ b/csharp_extension/CSharp Extension/Errors/SystemError.cs @@ -1,7 +1,7 @@ -using CSM_Foundation_Core.Errors.Abstractions.Bases; -using CSM_Foundation_Core.Errors.Models; +using CSharp_Extension.Errors.Abstractions.Bases; +using CSharp_Extension.Errors.Models; -namespace CSM_Foundation_Core.Errors; +namespace CSharp_Extension.Errors; /// diff --git a/csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs b/csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs index b2dedb0..098c8cd 100644 --- a/csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs +++ b/csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs @@ -1,5 +1,5 @@ -using CSM_Foundation_Core; -using CSM_Foundation_Core.Core.Utils; +using CSharp_Extension; +using CSharp_Extension.Common.Utils; namespace Unit_Tests.Utils;