From 9323d67bd8f7fa19e2d3ecd75feac4a495e9cedf Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Thu, 14 Dec 2023 11:27:26 +0330 Subject: [PATCH] add LanguageContract --- .github/workflows/nuget-push-public.yml | 1 + .../Contracts/Common/LanguageContract.cs | 15 +++++++++++++++ .../EasyMicroservices.Domain.csproj | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/CSharp/EasyMicroservices.Domain/Contracts/Common/LanguageContract.cs diff --git a/.github/workflows/nuget-push-public.yml b/.github/workflows/nuget-push-public.yml index 6811faf..f9bb27a 100644 --- a/.github/workflows/nuget-push-public.yml +++ b/.github/workflows/nuget-push-public.yml @@ -14,6 +14,7 @@ jobs: 5.0.x 6.0.x 7.0.x + 8.0.x env: DOTNET_INSTALL_DIR: /usr/share/dotnet - name: Restore dependencies diff --git a/src/CSharp/EasyMicroservices.Domain/Contracts/Common/LanguageContract.cs b/src/CSharp/EasyMicroservices.Domain/Contracts/Common/LanguageContract.cs new file mode 100644 index 0000000..d004ce6 --- /dev/null +++ b/src/CSharp/EasyMicroservices.Domain/Contracts/Common/LanguageContract.cs @@ -0,0 +1,15 @@ +namespace EasyMicroservices.Domain.Contracts.Common; +/// +/// language contract +/// +public class LanguageContract +{ + /// + /// Language short name like : fa-IR, en-US + /// + public string ShortName { get; set; } + /// + /// value of language + /// + public string Value { get; set; } +} diff --git a/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj b/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj index 51b990b..24af368 100644 --- a/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj +++ b/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj @@ -5,7 +5,7 @@ AnyCPU;x64;x86 EasyMicroservices true - 0.0.0.6 + 0.0.0.7 Domain of programming. EasyMicroservices@gmail.com utility,utilities,domain,domains,models,schemas,contracts