Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run_unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/version_update_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"line-length": false,
"MD024": {
"siblings_only": true
}
}
77 changes: 0 additions & 77 deletions CHANGELOG.md

This file was deleted.

15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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*} "<https://nuget.pkg.github.com/Cosmos-CSM/index.json>"

* 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.
File renamed without changes.
File renamed without changes.
105 changes: 105 additions & 0 deletions csharp_extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# *CSharp Extension*

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**

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 |
|:----------------------------------------|:----------------:|:---------------:| :------- |
| | | | |
22 changes: 11 additions & 11 deletions CSM Foundation Core.sln → csharp_extension/CSharp Extension.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ 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
Debug|Any CPU = Debug|Any CPU
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>CSM_Foundation_Core</RootNamespace>
<PackageId>CSM.Foundation.Core</PackageId>
<Version>4.0.0</Version>
<RootNamespace>CSharp_Extension</RootNamespace>
<PackageId>csm.extension</PackageId>
<Version>1.2.4</Version>
<Authors>Renato Urrea</Authors>
<Company>Cosmos (CSM)</Company>
<RepositoryUrl>https://github.com/Cosmos-CSM/csm_foundation_core</RepositoryUrl>
<RepositoryUrl>https://github.com/Cosmos-CSM/fe_csharp</RepositoryUrl>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/// <summary>
/// Represents an inheritance link between datasource objects
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Abstractions.Interfaces;
namespace CSM_Foundation_Core.Common.Abstractions.Interfaces;

/// <summary>
/// Represents a disposition manager wich stores objects in their context to be disposed at the end of a process.
Expand Down
28 changes: 28 additions & 0 deletions csharp_extension/CSharp Extension/Common/Enums/ScalarValues.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
namespace CSM_Foundation_Core.Common.Enums;


/// <summary>
/// Represents scalar valuees for operations.
/// </summary>
public enum ScalarValues {

/// <summary>
/// Double precision floating point number.
/// </summary>
DOUBLE,

/// <summary>
/// Integer number.
/// </summary>
INT,

/// <summary>
/// String value.
/// </summary>
STRING,

/// <summary>
/// Boolean value.
/// </summary>
BOOL,
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;

/// <summary>
/// <see cref="ConverterBaseError"/> Exception situations enumerator.
Expand Down
Original file line number Diff line number Diff line change
@@ -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;


/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CSM Foundation Core\CSM Foundation Core.csproj" />
<ProjectReference Include="..\CSharp Extension\CSharp Extension.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading