From 6f96a0856a536659a37b21de8571f87a85058a4b Mon Sep 17 00:00:00 2001 From: jr110 Date: Fri, 25 Sep 2026 16:31:09 -0700 Subject: [PATCH 01/11] Added [ResourceType] enum --- CSM Foundation Core/CHANGELOG.md | 15 ++++++++++++++- .../Core/Resources/ResourceType.cs | 16 ++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 CSM Foundation Core/Core/Resources/ResourceType.cs diff --git a/CSM Foundation Core/CHANGELOG.md b/CSM Foundation Core/CHANGELOG.md index a6d3e99..e808ba5 100644 --- a/CSM Foundation Core/CHANGELOG.md +++ b/CSM Foundation Core/CHANGELOG.md @@ -1,8 +1,21 @@ # CSM Foundation Core CHANGELOG + +## [x.x.x] - xx.xx-xxxx + +### Added + +- Added [ResourceType] enum to handle the resource types in CSM systems. + +#### Dependencies + +| Package | Previous Version | New Version | +|:----------------------------------------|:----------------:|:---------------:| +| | | | + ## [4.0.0] - 19.05-2026 -### Remved +### Removed - Removed [GenericUtils] class cause i only had a method for object clonation, replaced and moved to [ObjectUtils] with the method [Clone]. diff --git a/CSM Foundation Core/Core/Resources/ResourceType.cs b/CSM Foundation Core/Core/Resources/ResourceType.cs new file mode 100644 index 0000000..2f4bef3 --- /dev/null +++ b/CSM Foundation Core/Core/Resources/ResourceType.cs @@ -0,0 +1,16 @@ +namespace CSM_Foundation_Core.Core.Resources; + +/// +/// Resources types enumerator. +/// +public enum ResourceType { + /// + /// When the resource has a remote access Link. + /// + HLINK, + + /// + /// When the resource has local or network access data. + /// + FILE +} From 32ed6531d4133a63f5e963094ea58e9e56f14bff Mon Sep 17 00:00:00 2001 From: jr110 Date: Fri, 25 Sep 2026 21:44:27 -0700 Subject: [PATCH 02/11] adding [ScalarValue] enumerator --- CSM Foundation Core/CHANGELOG.md | 1 + .../Core/Resources/ResourceType.cs | 2 +- .../Core/Resources/ScalarValue.cs | 31 +++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 CSM Foundation Core/Core/Resources/ScalarValue.cs diff --git a/CSM Foundation Core/CHANGELOG.md b/CSM Foundation Core/CHANGELOG.md index e808ba5..26e3ad9 100644 --- a/CSM Foundation Core/CHANGELOG.md +++ b/CSM Foundation Core/CHANGELOG.md @@ -6,6 +6,7 @@ ### Added - Added [ResourceType] enum to handle the resource types in CSM systems. +- Added [ScalarValue] enum to handle the scalar value types in CSM systems. #### Dependencies diff --git a/CSM Foundation Core/Core/Resources/ResourceType.cs b/CSM Foundation Core/Core/Resources/ResourceType.cs index 2f4bef3..f1b5dea 100644 --- a/CSM Foundation Core/Core/Resources/ResourceType.cs +++ b/CSM Foundation Core/Core/Resources/ResourceType.cs @@ -12,5 +12,5 @@ public enum ResourceType { /// /// When the resource has local or network access data. /// - FILE + FILE, } diff --git a/CSM Foundation Core/Core/Resources/ScalarValue.cs b/CSM Foundation Core/Core/Resources/ScalarValue.cs new file mode 100644 index 0000000..7f8feb1 --- /dev/null +++ b/CSM Foundation Core/Core/Resources/ScalarValue.cs @@ -0,0 +1,31 @@ +namespace CSM_Foundation_Core.Core.Resources; + +/// +/// Scalar values enumerator. +/// +public enum ScalarValue { + /// + /// Double precision floating point number. + /// + DOUBLE, + + /// + /// Integer number. + /// + INT, + + /// + /// String value. + /// + STRING, + + /// + /// Boolean value. + /// + BOOL, + + /// + /// Enumeration value. + /// + ENUM, +} From ab138f4fdbef0956474b10ff000792954677a93c Mon Sep 17 00:00:00 2001 From: Renato Urrea Date: Mon, 28 Sep 2026 20:43:11 -0700 Subject: [PATCH 03/11] Fix summary comment for ResourceType enumeration Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- CSM Foundation Core/Core/Resources/ResourceType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSM Foundation Core/Core/Resources/ResourceType.cs b/CSM Foundation Core/Core/Resources/ResourceType.cs index f1b5dea..2eaac44 100644 --- a/CSM Foundation Core/Core/Resources/ResourceType.cs +++ b/CSM Foundation Core/Core/Resources/ResourceType.cs @@ -1,7 +1,7 @@ namespace CSM_Foundation_Core.Core.Resources; /// -/// Resources types enumerator. +/// Resource types enumeration. /// public enum ResourceType { /// From bd315de91c05df207df3b13fa931be4661607f04 Mon Sep 17 00:00:00 2001 From: Renato Urrea Date: Tue, 29 Sep 2026 12:18:53 -0700 Subject: [PATCH 04/11] standarizing fe project repository and documentation --- .markdownlint.json | 6 + CHANGELOG.md | 77 -------- README.md | 15 +- .../.editorconfig | 0 .gitignore => csharp_extension/.gitignore | 0 csharp_extension/CHANGELOG.md | 91 ++++++++++ .../Unit Tests.csproj | 0 .../Utils/SystemUtils_UnitTests.cs | 0 .../CSM Foundation Core.sln | 0 .../Abstractions/Bases/ObjectBase.cs | 0 .../Abstractions/Interfaces/IDisposer.cs | 0 .../CSM Foundation Core/CHANGELOG.md | 168 ++++++++++++++++++ .../CSM Foundation Core.csproj | 0 .../CSM Foundation Core}/Constants.cs | 0 .../Abstractions/Bases/ConverterBase.cs | 0 .../Bases/ConverterVariantBase.cs | 0 .../Abstractions/Interfaces/IConverter.cs | 0 .../Interfaces/IConverterVariant.cs | 0 .../Core/Errors/ConverterBaseError.cs | 0 .../Core/Errors/SystemError.cs | 0 .../Core/Extensions/DateTimeExtensions.cs | 0 .../Core/Extensions/EnumerableExtension.cs | 0 .../Core/Utils/ConsoleUtils.cs | 0 .../Core/Utils/FileUtils.cs | 0 .../Core/Utils/ObjectUtils.cs | 0 .../Core/Utils/RandomUtils.cs | 0 .../Core/Utils/SystemUtils.cs | 0 .../Errors/Abstractions/Bases/ErrorBase.cs | 0 .../Errors/Abstractions/Interfaces/IError.cs | 0 .../Errors/Models/ErrorFeedback.cs | 0 30 files changed, 278 insertions(+), 79 deletions(-) create mode 100644 .markdownlint.json delete mode 100644 CHANGELOG.md rename .editorconfig => csharp_extension/.editorconfig (100%) rename .gitignore => csharp_extension/.gitignore (100%) create mode 100644 csharp_extension/CHANGELOG.md rename {CSM Foundation Core.UnitTests => csharp_extension/CSM Foundation Core.UnitTests}/Unit Tests.csproj (100%) rename {CSM Foundation Core.UnitTests => csharp_extension/CSM Foundation Core.UnitTests}/Utils/SystemUtils_UnitTests.cs (100%) rename CSM Foundation Core.sln => csharp_extension/CSM Foundation Core.sln (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Abstractions/Bases/ObjectBase.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Abstractions/Interfaces/IDisposer.cs (100%) create mode 100644 csharp_extension/CSM Foundation Core/CHANGELOG.md rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/CSM Foundation Core.csproj (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Constants.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Convertion/Abstractions/Bases/ConverterBase.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Convertion/Abstractions/Bases/ConverterVariantBase.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Convertion/Abstractions/Interfaces/IConverter.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Convertion/Abstractions/Interfaces/IConverterVariant.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Errors/ConverterBaseError.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Errors/SystemError.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Extensions/DateTimeExtensions.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Extensions/EnumerableExtension.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Utils/ConsoleUtils.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Utils/FileUtils.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Utils/ObjectUtils.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Utils/RandomUtils.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Core/Utils/SystemUtils.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Errors/Abstractions/Bases/ErrorBase.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Errors/Abstractions/Interfaces/IError.cs (100%) rename {CSM Foundation Core => csharp_extension/CSM Foundation Core}/Errors/Models/ErrorFeedback.cs (100%) diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..e76b7d9 --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,6 @@ +{ + "line-length": false, + "MD024": { + "siblings_only": true + } +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ca4406e..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -# CSM Foundation Core CHANGELOG - -## [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 diff --git a/README.md b/README.md index 271e4fb..7c5dd09 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ -# csm_foundation_core -A .Net package to handle core utilities and tools for CSM Solutions development, improving development experience and standards. +# *CSharp Extension* + +A repository for a framweork extension package. Framweork extensions are CSM shaped utilities and tools for frameworks and languages used during development. + +[Changelog](./csharp_extension/CHANGELOG.md) + +## **Installation** + +> dotnet nuget add source --name "github" --username {*GITHUB.USR*} --password {*GITHUB.PAT*} "" + +* GITHUB.USR: It's your github user account. + +* GITHUB.PAT: It's a generated personal access token, go to *Settings* > *Developer Settings* > *Personal access tokens*, create a **Classic** type access token and provide at minimum **Read:Packages** permission. diff --git a/.editorconfig b/csharp_extension/.editorconfig similarity index 100% rename from .editorconfig rename to csharp_extension/.editorconfig diff --git a/.gitignore b/csharp_extension/.gitignore similarity index 100% rename from .gitignore rename to csharp_extension/.gitignore diff --git a/csharp_extension/CHANGELOG.md b/csharp_extension/CHANGELOG.md new file mode 100644 index 0000000..be9df1f --- /dev/null +++ b/csharp_extension/CHANGELOG.md @@ -0,0 +1,91 @@ +# *CSharp Extension* + +Here you will be able to see and identify changes along each package delivered version. + +## **[1.2.3] (06.08-2025)** + +### **Enhancements** + +Content that were added. + +- [SystemUtils] Added a new method (GetEnv) that gets and returns the current system runtime environment scope. + +### **Improvements** + +Improvements made on already existing content. + +### **Patches** + +Fixes for bugs or problems detected. + +### **Upgrades** + +| Package | Old Version | New Version | Comments | +|:----------------------------------------|:----------------:|:---------------:| :------- | +| | | | | + +## **[1.2.2] (06.08-2025)** + +### **Enhancements** + +Content that were added. + +- [XSystem] a generic base CSM framework exception for the integrated exception management. + +### **Improvements** + +Improvements made on already existing content. + +### **Patches** + +Fixes for bugs or problems detected. + +### **Upgrades** + +| Package | Old Version | New Version | Comments | +|:----------------------------------------|:----------------:|:---------------:| :------- | +| | | | | + +## **[1.2.1] (06.08-2025)** + +### **Enhancements** + +Content that were added. + +- [SystemUtils] class that handles easier the way that env vars can be handled. + +### **Improvements** + +Improvements made on already existing content. + +### **Patches** + +Fixes for bugs or problems detected. + +### **Upgrades** + +| Package | Old Version | New Version | Comments | +|:----------------------------------------|:----------------:|:---------------:| :------- | +| | | | | + +## **[1.1.1] (06.08-2025)** + +### **Enhancements** + +Content that were added. + +- [ConsoleUtils] class was added to handle better console printing information. + +### **Improvements** + +Improvements made on already existing content. + +### **Patches** + +Fixes for bugs or problems detected. + +### **Upgrades** + +| Package | Old Version | New Version | Comments | +|:----------------------------------------|:----------------:|:---------------:| :------- | +| | | | | diff --git a/CSM Foundation Core.UnitTests/Unit Tests.csproj b/csharp_extension/CSM Foundation Core.UnitTests/Unit Tests.csproj similarity index 100% rename from CSM Foundation Core.UnitTests/Unit Tests.csproj rename to csharp_extension/CSM Foundation Core.UnitTests/Unit Tests.csproj diff --git a/CSM Foundation Core.UnitTests/Utils/SystemUtils_UnitTests.cs b/csharp_extension/CSM Foundation Core.UnitTests/Utils/SystemUtils_UnitTests.cs similarity index 100% rename from CSM Foundation Core.UnitTests/Utils/SystemUtils_UnitTests.cs rename to csharp_extension/CSM Foundation Core.UnitTests/Utils/SystemUtils_UnitTests.cs diff --git a/CSM Foundation Core.sln b/csharp_extension/CSM Foundation Core.sln similarity index 100% rename from CSM Foundation Core.sln rename to csharp_extension/CSM Foundation Core.sln diff --git a/CSM Foundation Core/Abstractions/Bases/ObjectBase.cs b/csharp_extension/CSM Foundation Core/Abstractions/Bases/ObjectBase.cs similarity index 100% rename from CSM Foundation Core/Abstractions/Bases/ObjectBase.cs rename to csharp_extension/CSM Foundation Core/Abstractions/Bases/ObjectBase.cs diff --git a/CSM Foundation Core/Abstractions/Interfaces/IDisposer.cs b/csharp_extension/CSM Foundation Core/Abstractions/Interfaces/IDisposer.cs similarity index 100% rename from CSM Foundation Core/Abstractions/Interfaces/IDisposer.cs rename to csharp_extension/CSM Foundation Core/Abstractions/Interfaces/IDisposer.cs diff --git a/csharp_extension/CSM Foundation Core/CHANGELOG.md b/csharp_extension/CSM Foundation Core/CHANGELOG.md new file mode 100644 index 0000000..a6d3e99 --- /dev/null +++ b/csharp_extension/CSM Foundation Core/CHANGELOG.md @@ -0,0 +1,168 @@ +# CSM Foundation Core CHANGELOG + +## [4.0.0] - 19.05-2026 + +### Remved + +- Removed [GenericUtils] class cause i only had a method for object clonation, replaced and moved to [ObjectUtils] with the method [Clone]. + +- 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 diff --git a/CSM Foundation Core/CSM Foundation Core.csproj b/csharp_extension/CSM Foundation Core/CSM Foundation Core.csproj similarity index 100% rename from CSM Foundation Core/CSM Foundation Core.csproj rename to csharp_extension/CSM Foundation Core/CSM Foundation Core.csproj diff --git a/CSM Foundation Core/Constants.cs b/csharp_extension/CSM Foundation Core/Constants.cs similarity index 100% rename from CSM Foundation Core/Constants.cs rename to csharp_extension/CSM Foundation Core/Constants.cs diff --git a/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterBase.cs b/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterBase.cs similarity index 100% rename from CSM Foundation Core/Convertion/Abstractions/Bases/ConverterBase.cs rename to csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterBase.cs diff --git a/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterVariantBase.cs b/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterVariantBase.cs similarity index 100% rename from CSM Foundation Core/Convertion/Abstractions/Bases/ConverterVariantBase.cs rename to csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterVariantBase.cs diff --git a/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverter.cs b/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverter.cs similarity index 100% rename from CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverter.cs rename to csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverter.cs diff --git a/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverterVariant.cs b/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverterVariant.cs similarity index 100% rename from CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverterVariant.cs rename to csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverterVariant.cs diff --git a/CSM Foundation Core/Core/Errors/ConverterBaseError.cs b/csharp_extension/CSM Foundation Core/Core/Errors/ConverterBaseError.cs similarity index 100% rename from CSM Foundation Core/Core/Errors/ConverterBaseError.cs rename to csharp_extension/CSM Foundation Core/Core/Errors/ConverterBaseError.cs diff --git a/CSM Foundation Core/Core/Errors/SystemError.cs b/csharp_extension/CSM Foundation Core/Core/Errors/SystemError.cs similarity index 100% rename from CSM Foundation Core/Core/Errors/SystemError.cs rename to csharp_extension/CSM Foundation Core/Core/Errors/SystemError.cs diff --git a/CSM Foundation Core/Core/Extensions/DateTimeExtensions.cs b/csharp_extension/CSM Foundation Core/Core/Extensions/DateTimeExtensions.cs similarity index 100% rename from CSM Foundation Core/Core/Extensions/DateTimeExtensions.cs rename to csharp_extension/CSM Foundation Core/Core/Extensions/DateTimeExtensions.cs diff --git a/CSM Foundation Core/Core/Extensions/EnumerableExtension.cs b/csharp_extension/CSM Foundation Core/Core/Extensions/EnumerableExtension.cs similarity index 100% rename from CSM Foundation Core/Core/Extensions/EnumerableExtension.cs rename to csharp_extension/CSM Foundation Core/Core/Extensions/EnumerableExtension.cs diff --git a/CSM Foundation Core/Core/Utils/ConsoleUtils.cs b/csharp_extension/CSM Foundation Core/Core/Utils/ConsoleUtils.cs similarity index 100% rename from CSM Foundation Core/Core/Utils/ConsoleUtils.cs rename to csharp_extension/CSM Foundation Core/Core/Utils/ConsoleUtils.cs diff --git a/CSM Foundation Core/Core/Utils/FileUtils.cs b/csharp_extension/CSM Foundation Core/Core/Utils/FileUtils.cs similarity index 100% rename from CSM Foundation Core/Core/Utils/FileUtils.cs rename to csharp_extension/CSM Foundation Core/Core/Utils/FileUtils.cs diff --git a/CSM Foundation Core/Core/Utils/ObjectUtils.cs b/csharp_extension/CSM Foundation Core/Core/Utils/ObjectUtils.cs similarity index 100% rename from CSM Foundation Core/Core/Utils/ObjectUtils.cs rename to csharp_extension/CSM Foundation Core/Core/Utils/ObjectUtils.cs diff --git a/CSM Foundation Core/Core/Utils/RandomUtils.cs b/csharp_extension/CSM Foundation Core/Core/Utils/RandomUtils.cs similarity index 100% rename from CSM Foundation Core/Core/Utils/RandomUtils.cs rename to csharp_extension/CSM Foundation Core/Core/Utils/RandomUtils.cs diff --git a/CSM Foundation Core/Core/Utils/SystemUtils.cs b/csharp_extension/CSM Foundation Core/Core/Utils/SystemUtils.cs similarity index 100% rename from CSM Foundation Core/Core/Utils/SystemUtils.cs rename to csharp_extension/CSM Foundation Core/Core/Utils/SystemUtils.cs diff --git a/CSM Foundation Core/Errors/Abstractions/Bases/ErrorBase.cs b/csharp_extension/CSM Foundation Core/Errors/Abstractions/Bases/ErrorBase.cs similarity index 100% rename from CSM Foundation Core/Errors/Abstractions/Bases/ErrorBase.cs rename to csharp_extension/CSM Foundation Core/Errors/Abstractions/Bases/ErrorBase.cs diff --git a/CSM Foundation Core/Errors/Abstractions/Interfaces/IError.cs b/csharp_extension/CSM Foundation Core/Errors/Abstractions/Interfaces/IError.cs similarity index 100% rename from CSM Foundation Core/Errors/Abstractions/Interfaces/IError.cs rename to csharp_extension/CSM Foundation Core/Errors/Abstractions/Interfaces/IError.cs diff --git a/CSM Foundation Core/Errors/Models/ErrorFeedback.cs b/csharp_extension/CSM Foundation Core/Errors/Models/ErrorFeedback.cs similarity index 100% rename from CSM Foundation Core/Errors/Models/ErrorFeedback.cs rename to csharp_extension/CSM Foundation Core/Errors/Models/ErrorFeedback.cs From e00aeed4a5f1a4e0b4e9050688a7ecdfe75e9662 Mon Sep 17 00:00:00 2001 From: Renato Urrea Date: Wed, 30 Sep 2026 13:58:00 -0700 Subject: [PATCH 05/11] added enums --- CSM Foundation Core/CHANGELOG.md | 182 ------------------ .../Core/Resources/ResourceType.cs | 16 -- .../Core/Resources/ScalarValue.cs | 31 --- 3 files changed, 229 deletions(-) delete mode 100644 CSM Foundation Core/CHANGELOG.md delete mode 100644 CSM Foundation Core/Core/Resources/ResourceType.cs delete mode 100644 CSM Foundation Core/Core/Resources/ScalarValue.cs diff --git a/CSM Foundation Core/CHANGELOG.md b/CSM Foundation Core/CHANGELOG.md deleted file mode 100644 index 26e3ad9..0000000 --- a/CSM Foundation Core/CHANGELOG.md +++ /dev/null @@ -1,182 +0,0 @@ -# CSM Foundation Core CHANGELOG - - -## [x.x.x] - xx.xx-xxxx - -### Added - -- Added [ResourceType] enum to handle the resource types in CSM systems. -- Added [ScalarValue] enum to handle the scalar value types in CSM systems. - -#### Dependencies - -| Package | Previous Version | New Version | -|:----------------------------------------|:----------------:|:---------------:| -| | | | - -## [4.0.0] - 19.05-2026 - -### Removed - -- Removed [GenericUtils] class cause i only had a method for object clonation, replaced and moved to [ObjectUtils] with the method [Clone]. - -- 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 diff --git a/CSM Foundation Core/Core/Resources/ResourceType.cs b/CSM Foundation Core/Core/Resources/ResourceType.cs deleted file mode 100644 index 2eaac44..0000000 --- a/CSM Foundation Core/Core/Resources/ResourceType.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace CSM_Foundation_Core.Core.Resources; - -/// -/// Resource types enumeration. -/// -public enum ResourceType { - /// - /// When the resource has a remote access Link. - /// - HLINK, - - /// - /// When the resource has local or network access data. - /// - FILE, -} diff --git a/CSM Foundation Core/Core/Resources/ScalarValue.cs b/CSM Foundation Core/Core/Resources/ScalarValue.cs deleted file mode 100644 index 7f8feb1..0000000 --- a/CSM Foundation Core/Core/Resources/ScalarValue.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace CSM_Foundation_Core.Core.Resources; - -/// -/// Scalar values enumerator. -/// -public enum ScalarValue { - /// - /// Double precision floating point number. - /// - DOUBLE, - - /// - /// Integer number. - /// - INT, - - /// - /// String value. - /// - STRING, - - /// - /// Boolean value. - /// - BOOL, - - /// - /// Enumeration value. - /// - ENUM, -} From eca8bdb0b6dc3dd35d5ed9c778b2f0b6bb1d734c Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Wed, 30 Sep 2026 18:36:45 -0700 Subject: [PATCH 06/11] renamed software solution --- ...undation Core.sln => CSharp Extension.sln} | 22 +++++++++---------- .../Abstractions/Bases/ObjectBase.cs | 0 .../Abstractions/Interfaces/IDisposer.cs | 0 .../CHANGELOG.md | 0 .../CSharp Extension.csproj} | 0 .../Constants.cs | 0 .../Abstractions/Bases/ConverterBase.cs | 0 .../Bases/ConverterVariantBase.cs | 0 .../Abstractions/Interfaces/IConverter.cs | 0 .../Interfaces/IConverterVariant.cs | 0 .../Core/Errors/ConverterBaseError.cs | 0 .../Core/Errors/SystemError.cs | 0 .../Core/Extensions/DateTimeExtensions.cs | 0 .../Core/Extensions/EnumerableExtension.cs | 0 .../Core/Utils/ConsoleUtils.cs | 0 .../Core/Utils/FileUtils.cs | 0 .../Core/Utils/ObjectUtils.cs | 0 .../Core/Utils/RandomUtils.cs | 0 .../Core/Utils/SystemUtils.cs | 0 .../Errors/Abstractions/Bases/ErrorBase.cs | 0 .../Errors/Abstractions/Interfaces/IError.cs | 0 .../Errors/Models/ErrorFeedback.cs | 0 .../Unit Tests.csproj | 2 +- .../Utils/SystemUtils_UnitTests.cs | 0 24 files changed, 12 insertions(+), 12 deletions(-) rename csharp_extension/{CSM Foundation Core.sln => CSharp Extension.sln} (59%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Abstractions/Bases/ObjectBase.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Abstractions/Interfaces/IDisposer.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/CHANGELOG.md (100%) rename csharp_extension/{CSM Foundation Core/CSM Foundation Core.csproj => CSharp Extension/CSharp Extension.csproj} (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Constants.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Convertion/Abstractions/Bases/ConverterBase.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Convertion/Abstractions/Bases/ConverterVariantBase.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Convertion/Abstractions/Interfaces/IConverter.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Convertion/Abstractions/Interfaces/IConverterVariant.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Errors/ConverterBaseError.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Errors/SystemError.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Extensions/DateTimeExtensions.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Extensions/EnumerableExtension.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Utils/ConsoleUtils.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Utils/FileUtils.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Utils/ObjectUtils.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Utils/RandomUtils.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Core/Utils/SystemUtils.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Errors/Abstractions/Bases/ErrorBase.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Errors/Abstractions/Interfaces/IError.cs (100%) rename csharp_extension/{CSM Foundation Core => CSharp Extension}/Errors/Models/ErrorFeedback.cs (100%) rename csharp_extension/{CSM Foundation Core.UnitTests => Unit Tests}/Unit Tests.csproj (89%) rename csharp_extension/{CSM Foundation Core.UnitTests => Unit Tests}/Utils/SystemUtils_UnitTests.cs (100%) diff --git a/csharp_extension/CSM Foundation Core.sln b/csharp_extension/CSharp Extension.sln similarity index 59% rename from csharp_extension/CSM Foundation Core.sln rename to csharp_extension/CSharp Extension.sln index 01bb2e7..0a5aa5f 100644 --- a/csharp_extension/CSM Foundation Core.sln +++ b/csharp_extension/CSharp Extension.sln @@ -3,15 +3,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 18 VisualStudioVersion = 18.0.11222.15 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSM Foundation Core", "CSM Foundation Core\CSM Foundation Core.csproj", "{E39161C8-353E-40B7-B1E0-ED3E17DCC51F}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig .gitignore = .gitignore EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unit Tests", "CSM Foundation Core.UnitTests\Unit Tests.csproj", "{A64FDEEE-0D9E-4311-A8F1-92F389F0285D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp Extension", "CSharp Extension\CSharp Extension.csproj", "{C58A7E28-31DC-ACB9-135E-48E7BF59E92F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unit Tests", "Unit Tests\Unit Tests.csproj", "{CBAAFF94-19D9-CA27-EB09-AC83990DFBC8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,14 +19,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E39161C8-353E-40B7-B1E0-ED3E17DCC51F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E39161C8-353E-40B7-B1E0-ED3E17DCC51F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E39161C8-353E-40B7-B1E0-ED3E17DCC51F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E39161C8-353E-40B7-B1E0-ED3E17DCC51F}.Release|Any CPU.Build.0 = Release|Any CPU - {A64FDEEE-0D9E-4311-A8F1-92F389F0285D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A64FDEEE-0D9E-4311-A8F1-92F389F0285D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A64FDEEE-0D9E-4311-A8F1-92F389F0285D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A64FDEEE-0D9E-4311-A8F1-92F389F0285D}.Release|Any CPU.Build.0 = Release|Any CPU + {C58A7E28-31DC-ACB9-135E-48E7BF59E92F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C58A7E28-31DC-ACB9-135E-48E7BF59E92F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C58A7E28-31DC-ACB9-135E-48E7BF59E92F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C58A7E28-31DC-ACB9-135E-48E7BF59E92F}.Release|Any CPU.Build.0 = Release|Any CPU + {CBAAFF94-19D9-CA27-EB09-AC83990DFBC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CBAAFF94-19D9-CA27-EB09-AC83990DFBC8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CBAAFF94-19D9-CA27-EB09-AC83990DFBC8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CBAAFF94-19D9-CA27-EB09-AC83990DFBC8}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/csharp_extension/CSM Foundation Core/Abstractions/Bases/ObjectBase.cs b/csharp_extension/CSharp Extension/Abstractions/Bases/ObjectBase.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Abstractions/Bases/ObjectBase.cs rename to csharp_extension/CSharp Extension/Abstractions/Bases/ObjectBase.cs diff --git a/csharp_extension/CSM Foundation Core/Abstractions/Interfaces/IDisposer.cs b/csharp_extension/CSharp Extension/Abstractions/Interfaces/IDisposer.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Abstractions/Interfaces/IDisposer.cs rename to csharp_extension/CSharp Extension/Abstractions/Interfaces/IDisposer.cs diff --git a/csharp_extension/CSM Foundation Core/CHANGELOG.md b/csharp_extension/CSharp Extension/CHANGELOG.md similarity index 100% rename from csharp_extension/CSM Foundation Core/CHANGELOG.md rename to csharp_extension/CSharp Extension/CHANGELOG.md diff --git a/csharp_extension/CSM Foundation Core/CSM Foundation Core.csproj b/csharp_extension/CSharp Extension/CSharp Extension.csproj similarity index 100% rename from csharp_extension/CSM Foundation Core/CSM Foundation Core.csproj rename to csharp_extension/CSharp Extension/CSharp Extension.csproj diff --git a/csharp_extension/CSM Foundation Core/Constants.cs b/csharp_extension/CSharp Extension/Constants.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Constants.cs rename to csharp_extension/CSharp Extension/Constants.cs diff --git a/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterBase.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterBase.cs rename to csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs diff --git a/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterVariantBase.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterVariantBase.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Convertion/Abstractions/Bases/ConverterVariantBase.cs rename to csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterVariantBase.cs diff --git a/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverter.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverter.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverter.cs rename to csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverter.cs diff --git a/csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverterVariant.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverterVariant.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Convertion/Abstractions/Interfaces/IConverterVariant.cs rename to csharp_extension/CSharp Extension/Convertion/Abstractions/Interfaces/IConverterVariant.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Errors/ConverterBaseError.cs b/csharp_extension/CSharp Extension/Core/Errors/ConverterBaseError.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Errors/ConverterBaseError.cs rename to csharp_extension/CSharp Extension/Core/Errors/ConverterBaseError.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Errors/SystemError.cs b/csharp_extension/CSharp Extension/Core/Errors/SystemError.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Errors/SystemError.cs rename to csharp_extension/CSharp Extension/Core/Errors/SystemError.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Extensions/DateTimeExtensions.cs b/csharp_extension/CSharp Extension/Core/Extensions/DateTimeExtensions.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Extensions/DateTimeExtensions.cs rename to csharp_extension/CSharp Extension/Core/Extensions/DateTimeExtensions.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Extensions/EnumerableExtension.cs b/csharp_extension/CSharp Extension/Core/Extensions/EnumerableExtension.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Extensions/EnumerableExtension.cs rename to csharp_extension/CSharp Extension/Core/Extensions/EnumerableExtension.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Utils/ConsoleUtils.cs b/csharp_extension/CSharp Extension/Core/Utils/ConsoleUtils.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Utils/ConsoleUtils.cs rename to csharp_extension/CSharp Extension/Core/Utils/ConsoleUtils.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Utils/FileUtils.cs b/csharp_extension/CSharp Extension/Core/Utils/FileUtils.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Utils/FileUtils.cs rename to csharp_extension/CSharp Extension/Core/Utils/FileUtils.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Utils/ObjectUtils.cs b/csharp_extension/CSharp Extension/Core/Utils/ObjectUtils.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Utils/ObjectUtils.cs rename to csharp_extension/CSharp Extension/Core/Utils/ObjectUtils.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Utils/RandomUtils.cs b/csharp_extension/CSharp Extension/Core/Utils/RandomUtils.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Utils/RandomUtils.cs rename to csharp_extension/CSharp Extension/Core/Utils/RandomUtils.cs diff --git a/csharp_extension/CSM Foundation Core/Core/Utils/SystemUtils.cs b/csharp_extension/CSharp Extension/Core/Utils/SystemUtils.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Core/Utils/SystemUtils.cs rename to csharp_extension/CSharp Extension/Core/Utils/SystemUtils.cs diff --git a/csharp_extension/CSM Foundation Core/Errors/Abstractions/Bases/ErrorBase.cs b/csharp_extension/CSharp Extension/Errors/Abstractions/Bases/ErrorBase.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Errors/Abstractions/Bases/ErrorBase.cs rename to csharp_extension/CSharp Extension/Errors/Abstractions/Bases/ErrorBase.cs diff --git a/csharp_extension/CSM Foundation Core/Errors/Abstractions/Interfaces/IError.cs b/csharp_extension/CSharp Extension/Errors/Abstractions/Interfaces/IError.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Errors/Abstractions/Interfaces/IError.cs rename to csharp_extension/CSharp Extension/Errors/Abstractions/Interfaces/IError.cs diff --git a/csharp_extension/CSM Foundation Core/Errors/Models/ErrorFeedback.cs b/csharp_extension/CSharp Extension/Errors/Models/ErrorFeedback.cs similarity index 100% rename from csharp_extension/CSM Foundation Core/Errors/Models/ErrorFeedback.cs rename to csharp_extension/CSharp Extension/Errors/Models/ErrorFeedback.cs diff --git a/csharp_extension/CSM Foundation Core.UnitTests/Unit Tests.csproj b/csharp_extension/Unit Tests/Unit Tests.csproj similarity index 89% rename from csharp_extension/CSM Foundation Core.UnitTests/Unit Tests.csproj rename to csharp_extension/Unit Tests/Unit Tests.csproj index 777c6cd..06bdefc 100644 --- a/csharp_extension/CSM Foundation Core.UnitTests/Unit Tests.csproj +++ b/csharp_extension/Unit Tests/Unit Tests.csproj @@ -16,7 +16,7 @@ - + diff --git a/csharp_extension/CSM Foundation Core.UnitTests/Utils/SystemUtils_UnitTests.cs b/csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs similarity index 100% rename from csharp_extension/CSM Foundation Core.UnitTests/Utils/SystemUtils_UnitTests.cs rename to csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs From 030c9b192934d2a477b75aff0c1912a0c1431e32 Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Wed, 30 Sep 2026 18:39:47 -0700 Subject: [PATCH 07/11] added structure --- .../{ => Common}/Abstractions/Bases/ObjectBase.cs | 2 +- .../{ => Common}/Abstractions/Interfaces/IDisposer.cs | 2 +- .../{Core => Common}/Extensions/DateTimeExtensions.cs | 0 .../{Core => Common}/Extensions/EnumerableExtension.cs | 0 .../CSharp Extension/{Core => Common}/Utils/ConsoleUtils.cs | 0 .../CSharp Extension/{Core => Common}/Utils/FileUtils.cs | 0 .../CSharp Extension/{Core => Common}/Utils/ObjectUtils.cs | 0 .../CSharp Extension/{Core => Common}/Utils/RandomUtils.cs | 0 .../CSharp Extension/{Core => Common}/Utils/SystemUtils.cs | 0 .../Convertion/Abstractions/Bases/ConverterBase.cs | 1 - .../Abstractions/Bases}/ConverterBaseError.cs | 5 ++--- .../CSharp Extension/{Core => }/Errors/SystemError.cs | 2 +- 12 files changed, 5 insertions(+), 7 deletions(-) rename csharp_extension/CSharp Extension/{ => Common}/Abstractions/Bases/ObjectBase.cs (98%) rename csharp_extension/CSharp Extension/{ => Common}/Abstractions/Interfaces/IDisposer.cs (95%) rename csharp_extension/CSharp Extension/{Core => Common}/Extensions/DateTimeExtensions.cs (100%) rename csharp_extension/CSharp Extension/{Core => Common}/Extensions/EnumerableExtension.cs (100%) rename csharp_extension/CSharp Extension/{Core => Common}/Utils/ConsoleUtils.cs (100%) rename csharp_extension/CSharp Extension/{Core => Common}/Utils/FileUtils.cs (100%) rename csharp_extension/CSharp Extension/{Core => Common}/Utils/ObjectUtils.cs (100%) rename csharp_extension/CSharp Extension/{Core => Common}/Utils/RandomUtils.cs (100%) rename csharp_extension/CSharp Extension/{Core => Common}/Utils/SystemUtils.cs (100%) rename csharp_extension/CSharp Extension/{Core/Errors => Convertion/Abstractions/Bases}/ConverterBaseError.cs (91%) rename csharp_extension/CSharp Extension/{Core => }/Errors/SystemError.cs (96%) diff --git a/csharp_extension/CSharp Extension/Abstractions/Bases/ObjectBase.cs b/csharp_extension/CSharp Extension/Common/Abstractions/Bases/ObjectBase.cs similarity index 98% rename from csharp_extension/CSharp Extension/Abstractions/Bases/ObjectBase.cs rename to csharp_extension/CSharp Extension/Common/Abstractions/Bases/ObjectBase.cs index 2635ed1..90847fd 100644 --- a/csharp_extension/CSharp Extension/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.Abstractions.Bases; +namespace CSM_Foundation_Core.Common.Abstractions.Bases; /// /// Represents an inheritance link between datasource objects diff --git a/csharp_extension/CSharp Extension/Abstractions/Interfaces/IDisposer.cs b/csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs similarity index 95% rename from csharp_extension/CSharp Extension/Abstractions/Interfaces/IDisposer.cs rename to csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs index bc4d384..0861d96 100644 --- a/csharp_extension/CSharp Extension/Abstractions/Interfaces/IDisposer.cs +++ b/csharp_extension/CSharp Extension/Common/Abstractions/Interfaces/IDisposer.cs @@ -1,4 +1,4 @@ -namespace CSM_Foundation_Core.Abstractions.Interfaces; +namespace CSM_Foundation_Core.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/Core/Extensions/DateTimeExtensions.cs b/csharp_extension/CSharp Extension/Common/Extensions/DateTimeExtensions.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Extensions/DateTimeExtensions.cs rename to csharp_extension/CSharp Extension/Common/Extensions/DateTimeExtensions.cs diff --git a/csharp_extension/CSharp Extension/Core/Extensions/EnumerableExtension.cs b/csharp_extension/CSharp Extension/Common/Extensions/EnumerableExtension.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Extensions/EnumerableExtension.cs rename to csharp_extension/CSharp Extension/Common/Extensions/EnumerableExtension.cs diff --git a/csharp_extension/CSharp Extension/Core/Utils/ConsoleUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/ConsoleUtils.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Utils/ConsoleUtils.cs rename to csharp_extension/CSharp Extension/Common/Utils/ConsoleUtils.cs diff --git a/csharp_extension/CSharp Extension/Core/Utils/FileUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/FileUtils.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Utils/FileUtils.cs rename to csharp_extension/CSharp Extension/Common/Utils/FileUtils.cs diff --git a/csharp_extension/CSharp Extension/Core/Utils/ObjectUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/ObjectUtils.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Utils/ObjectUtils.cs rename to csharp_extension/CSharp Extension/Common/Utils/ObjectUtils.cs diff --git a/csharp_extension/CSharp Extension/Core/Utils/RandomUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/RandomUtils.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Utils/RandomUtils.cs rename to csharp_extension/CSharp Extension/Common/Utils/RandomUtils.cs diff --git a/csharp_extension/CSharp Extension/Core/Utils/SystemUtils.cs b/csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs similarity index 100% rename from csharp_extension/CSharp Extension/Core/Utils/SystemUtils.cs rename to csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs diff --git a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs index 98a7ead..3fd46f1 100644 --- a/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBase.cs @@ -2,7 +2,6 @@ using System.Text.Json.Serialization; using CSM_Foundation_Core.Convertion.Abstractions.Interfaces; -using CSM_Foundation_Core.Core.Errors; namespace CSM_Foundation_Core.Convertion.Abstractions.Bases; diff --git a/csharp_extension/CSharp Extension/Core/Errors/ConverterBaseError.cs b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs similarity index 91% rename from csharp_extension/CSharp Extension/Core/Errors/ConverterBaseError.cs rename to csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs index 747db29..72066a2 100644 --- a/csharp_extension/CSharp Extension/Core/Errors/ConverterBaseError.cs +++ b/csharp_extension/CSharp Extension/Convertion/Abstractions/Bases/ConverterBaseError.cs @@ -1,8 +1,7 @@ -using CSM_Foundation_Core.Convertion.Abstractions.Bases; -using CSM_Foundation_Core.Convertion.Abstractions.Interfaces; +using CSM_Foundation_Core.Convertion.Abstractions.Interfaces; using CSM_Foundation_Core.Errors.Abstractions.Bases; -namespace CSM_Foundation_Core.Core.Errors; +namespace CSM_Foundation_Core.Convertion.Abstractions.Bases; /// /// Exception situations enumerator. diff --git a/csharp_extension/CSharp Extension/Core/Errors/SystemError.cs b/csharp_extension/CSharp Extension/Errors/SystemError.cs similarity index 96% rename from csharp_extension/CSharp Extension/Core/Errors/SystemError.cs rename to csharp_extension/CSharp Extension/Errors/SystemError.cs index 87ef5d4..ee7ee75 100644 --- a/csharp_extension/CSharp Extension/Core/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; -namespace CSM_Foundation_Core.Core.Errors; +namespace CSM_Foundation_Core.Errors; /// From b2f5682f3e4c71defb707499a4584988292184ff Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Wed, 30 Sep 2026 18:44:38 -0700 Subject: [PATCH 08/11] removed enum from scalar since we can track them with reflection --- .../Common/Enums/ResourceTypes.cs | 16 +++++++++++ .../Common/Enums/ScalarValues.cs | 28 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs create mode 100644 csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs diff --git a/csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs b/csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs new file mode 100644 index 0000000..b7d1700 --- /dev/null +++ b/csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs @@ -0,0 +1,16 @@ +namespace CSM_Foundation_Core.Common.Enums; + +/// +/// Represents types of external resources. +/// +public enum ResourceTypes { + /// + /// An external link redirection. + /// + HLINK, + + /// + /// A file for reading, downloading, or executing. + /// + FILE +} \ No newline at end of file diff --git a/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs b/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs new file mode 100644 index 0000000..ce3f823 --- /dev/null +++ b/csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs @@ -0,0 +1,28 @@ +namespace CSM_Foundation_Core.Common.Enums; + + +/// +/// Represents scalar valuees for operations. +/// +public enum ScalarValues { + + /// + /// Double precision floating point number. + /// + DOUBLE, + + /// + /// Integer number. + /// + INT, + + /// + /// String value. + /// + STRING, + + /// + /// Boolean value. + /// + BOOL, +} From 71635c788684bbe602b5e04f88ff573cea57374c Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Wed, 30 Sep 2026 18:46:57 -0700 Subject: [PATCH 09/11] removed resource type since it's more business entity shaped logic --- .../Common/Enums/ResourceTypes.cs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs diff --git a/csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs b/csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs deleted file mode 100644 index b7d1700..0000000 --- a/csharp_extension/CSharp Extension/Common/Enums/ResourceTypes.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace CSM_Foundation_Core.Common.Enums; - -/// -/// Represents types of external resources. -/// -public enum ResourceTypes { - /// - /// An external link redirection. - /// - HLINK, - - /// - /// A file for reading, downloading, or executing. - /// - FILE -} \ No newline at end of file From 6935d7a8c7b8a033b46f3701b4cacb53e0501f90 Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Wed, 30 Sep 2026 18:59:16 -0700 Subject: [PATCH 10/11] updatng vbump and workflows --- .github/workflows/publish.yaml | 2 +- .github/workflows/version_update_check.yaml | 2 +- csharp_extension/CHANGELOG.md | 14 ++++++++++++++ .../CSharp Extension/CSharp Extension.csproj | 8 ++++---- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 869d942..30f8ab0 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest env: - CS_PROJECT_PATH: 'CSM Foundation Core/CSM Foundation Core.csproj' + CS_PROJECT_PATH: 'csharp_extension/CSharp Extension/CSharp Extension.csproj' steps: - name: 🔄 Checkout repo diff --git a/.github/workflows/version_update_check.yaml b/.github/workflows/version_update_check.yaml index 4e08d6a..63796ee 100644 --- a/.github/workflows/version_update_check.yaml +++ b/.github/workflows/version_update_check.yaml @@ -19,7 +19,7 @@ jobs: - name: Define project path id: config run: | - echo 'project_path="CSM Foundation Core/CSM Foundation Core.csproj"' >> $GITHUB_OUTPUT + echo 'project_path="csharp_extension/CSharp Extension/CSharp Extension.csproj"' >> $GITHUB_OUTPUT - name: Get version from PR branch id: pr_version diff --git a/csharp_extension/CHANGELOG.md b/csharp_extension/CHANGELOG.md index be9df1f..c80090f 100644 --- a/csharp_extension/CHANGELOG.md +++ b/csharp_extension/CHANGELOG.md @@ -2,6 +2,20 @@ Here you will be able to see and identify changes along each package delivered version. +## **[1.2.4] (30.09-2026)** + +### **Enhancements** + +Content that were added. + +- Added [ScalarValues] enumerator to handle specific dynamic typing operations on business entities. + +### **Improvements** + +Improvements made on already existing content. + +- Organizeed structure along errors, common and abstractions on their specific scope. + ## **[1.2.3] (06.08-2025)** ### **Enhancements** diff --git a/csharp_extension/CSharp Extension/CSharp Extension.csproj b/csharp_extension/CSharp Extension/CSharp Extension.csproj index 7cb5de5..6a041b4 100644 --- a/csharp_extension/CSharp Extension/CSharp Extension.csproj +++ b/csharp_extension/CSharp Extension/CSharp Extension.csproj @@ -2,12 +2,12 @@ net8.0 - CSM_Foundation_Core - CSM.Foundation.Core - 4.0.0 + CSharp_Extension + csm.extension + 1.2.4 Renato Urrea Cosmos (CSM) - https://github.com/Cosmos-CSM/csm_foundation_core + https://github.com/Cosmos-CSM/fe_csharp enable enable true From 787fa7d51dc700b132023e7d2ccf08c6f6cc2d26 Mon Sep 17 00:00:00 2001 From: Juan Renato Urrea Ortiz Date: Wed, 30 Sep 2026 19:04:48 -0700 Subject: [PATCH 11/11] updating testing trun --- .github/workflows/run_unit_tests.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run_unit_tests.yaml b/.github/workflows/run_unit_tests.yaml index 9b8c63b..215d263 100644 --- a/.github/workflows/run_unit_tests.yaml +++ b/.github/workflows/run_unit_tests.yaml @@ -33,12 +33,15 @@ jobs: ${{ runner.os }}-nuget- - name: Restore dependencies + working-directory: csharp_extension run: dotnet restore - name: Build solution + working-directory: csharp_extension run: | dotnet build --no-restore --configuration Release - name: Run tests + working-directory: csharp_extension run: | dotnet test --no-build --configuration Release --verbosity normal