From 7652d47b042ba1282c2d8de2dfb239be716c0e25 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Thu, 15 Feb 2024 23:22:52 +0330 Subject: [PATCH] add widgetmanager to build --- .../EasyMicroservices.Cores.AspCoreApi.csproj | 2 +- .../EasyMicroservices.Cores.AspEntityFrameworkCoreApi.csproj | 2 +- .../EasyMicroservices.Cores.Clients.csproj | 2 +- .../EasyMicroservices.Cores.Contracts.csproj | 2 +- .../EasyMicroservices.Cores.Database.csproj | 2 +- .../EasyMicroservices.Cores.EntityFrameworkCore.csproj | 2 +- .../EasyMicroservices.Cores.Infrastructure.csproj | 2 +- .../Interfaces/IWidgetBuilder.cs | 2 +- .../Widgets/EmptyWidgetBuilder.cs | 3 +-- .../Widgets/WidgetManager.cs | 2 +- ...syMicroservices.Cores.Relational.EntityFrameworkCore.csproj | 2 +- 11 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/CSharp/EasyMicroservices.Cores.AspCoreApi/EasyMicroservices.Cores.AspCoreApi.csproj b/src/CSharp/EasyMicroservices.Cores.AspCoreApi/EasyMicroservices.Cores.AspCoreApi.csproj index ae6264e..b4ffe96 100644 --- a/src/CSharp/EasyMicroservices.Cores.AspCoreApi/EasyMicroservices.Cores.AspCoreApi.csproj +++ b/src/CSharp/EasyMicroservices.Cores.AspCoreApi/EasyMicroservices.Cores.AspCoreApi.csproj @@ -4,7 +4,7 @@ netstandard2.1;net6.0;net7.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 asp core servces. EasyMicroservices@gmail.com core,cores,base,database,services,asp,aspnet diff --git a/src/CSharp/EasyMicroservices.Cores.AspEntityFrameworkCoreApi/EasyMicroservices.Cores.AspEntityFrameworkCoreApi.csproj b/src/CSharp/EasyMicroservices.Cores.AspEntityFrameworkCoreApi/EasyMicroservices.Cores.AspEntityFrameworkCoreApi.csproj index 99d5a51..3602ed4 100644 --- a/src/CSharp/EasyMicroservices.Cores.AspEntityFrameworkCoreApi/EasyMicroservices.Cores.AspEntityFrameworkCoreApi.csproj +++ b/src/CSharp/EasyMicroservices.Cores.AspEntityFrameworkCoreApi/EasyMicroservices.Cores.AspEntityFrameworkCoreApi.csproj @@ -4,7 +4,7 @@ net6.0;net7.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 asp core servces. EasyMicroservices@gmail.com core,cores,base,database,services,asp,aspnet,aspcore,efcore diff --git a/src/CSharp/EasyMicroservices.Cores.Clients/EasyMicroservices.Cores.Clients.csproj b/src/CSharp/EasyMicroservices.Cores.Clients/EasyMicroservices.Cores.Clients.csproj index 9ad549d..0a5c7bc 100644 --- a/src/CSharp/EasyMicroservices.Cores.Clients/EasyMicroservices.Cores.Clients.csproj +++ b/src/CSharp/EasyMicroservices.Cores.Clients/EasyMicroservices.Cores.Clients.csproj @@ -4,7 +4,7 @@ netstandard2.0;netstandard2.1;net6.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 core of database. EasyMicroservices@gmail.com core,cores,base,client,clients diff --git a/src/CSharp/EasyMicroservices.Cores.Contracts/EasyMicroservices.Cores.Contracts.csproj b/src/CSharp/EasyMicroservices.Cores.Contracts/EasyMicroservices.Cores.Contracts.csproj index ba2ed23..a8725f6 100644 --- a/src/CSharp/EasyMicroservices.Cores.Contracts/EasyMicroservices.Cores.Contracts.csproj +++ b/src/CSharp/EasyMicroservices.Cores.Contracts/EasyMicroservices.Cores.Contracts.csproj @@ -4,7 +4,7 @@ netstandard2.0;netstandard2.1;net45;net6.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 core contracts. EasyMicroservices@gmail.com core,cores,base,contract,contracts,dto,dtos diff --git a/src/CSharp/EasyMicroservices.Cores.Database/EasyMicroservices.Cores.Database.csproj b/src/CSharp/EasyMicroservices.Cores.Database/EasyMicroservices.Cores.Database.csproj index ce495f4..6d33da7 100644 --- a/src/CSharp/EasyMicroservices.Cores.Database/EasyMicroservices.Cores.Database.csproj +++ b/src/CSharp/EasyMicroservices.Cores.Database/EasyMicroservices.Cores.Database.csproj @@ -4,7 +4,7 @@ netstandard2.0;netstandard2.1;net45;net6.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 core of database. EasyMicroservices@gmail.com core,cores,base,database diff --git a/src/CSharp/EasyMicroservices.Cores.EntityFrameworkCore/EasyMicroservices.Cores.EntityFrameworkCore.csproj b/src/CSharp/EasyMicroservices.Cores.EntityFrameworkCore/EasyMicroservices.Cores.EntityFrameworkCore.csproj index 5e92a5b..fa41dae 100644 --- a/src/CSharp/EasyMicroservices.Cores.EntityFrameworkCore/EasyMicroservices.Cores.EntityFrameworkCore.csproj +++ b/src/CSharp/EasyMicroservices.Cores.EntityFrameworkCore/EasyMicroservices.Cores.EntityFrameworkCore.csproj @@ -4,7 +4,7 @@ netstandard2.1;net6.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 ef core of database. EasyMicroservices@gmail.com core,cores,base,database,ef,efcore diff --git a/src/CSharp/EasyMicroservices.Cores.Infrastructure/EasyMicroservices.Cores.Infrastructure.csproj b/src/CSharp/EasyMicroservices.Cores.Infrastructure/EasyMicroservices.Cores.Infrastructure.csproj index ee08b05..f3cf6e7 100644 --- a/src/CSharp/EasyMicroservices.Cores.Infrastructure/EasyMicroservices.Cores.Infrastructure.csproj +++ b/src/CSharp/EasyMicroservices.Cores.Infrastructure/EasyMicroservices.Cores.Infrastructure.csproj @@ -4,7 +4,7 @@ netstandard2.0;netstandard2.1;net45;net6.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 core of infrastructure. EasyMicroservices@gmail.com core,cores,base,infrastructure diff --git a/src/CSharp/EasyMicroservices.Cores.Infrastructure/Interfaces/IWidgetBuilder.cs b/src/CSharp/EasyMicroservices.Cores.Infrastructure/Interfaces/IWidgetBuilder.cs index 1c7fc5b..481a90a 100644 --- a/src/CSharp/EasyMicroservices.Cores.Infrastructure/Interfaces/IWidgetBuilder.cs +++ b/src/CSharp/EasyMicroservices.Cores.Infrastructure/Interfaces/IWidgetBuilder.cs @@ -5,5 +5,5 @@ /// public interface IWidgetBuilder { - void Build(); + void Build(IWidgetManager widgetManager); } diff --git a/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/EmptyWidgetBuilder.cs b/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/EmptyWidgetBuilder.cs index 913e9e0..fb3f7bb 100644 --- a/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/EmptyWidgetBuilder.cs +++ b/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/EmptyWidgetBuilder.cs @@ -3,8 +3,7 @@ namespace EasyMicroservices.Cores.Widgets; public class EmptyWidgetBuilder : IWidgetBuilder { - public void Build() + public void Build(IWidgetManager widgetManager) { - } } diff --git a/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/WidgetManager.cs b/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/WidgetManager.cs index 87d61b5..8d95b39 100644 --- a/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/WidgetManager.cs +++ b/src/CSharp/EasyMicroservices.Cores.Infrastructure/Widgets/WidgetManager.cs @@ -9,7 +9,7 @@ public class WidgetManager : IWidgetManager { public WidgetManager(IWidgetBuilder widgetBuilder) { - widgetBuilder.Build(); + widgetBuilder.Build(this); } readonly ConcurrentDictionary> Widgets = new ConcurrentDictionary>(); diff --git a/src/CSharp/EasyMicroservices.Cores.Relational.EntityFrameworkCore/EasyMicroservices.Cores.Relational.EntityFrameworkCore.csproj b/src/CSharp/EasyMicroservices.Cores.Relational.EntityFrameworkCore/EasyMicroservices.Cores.Relational.EntityFrameworkCore.csproj index 90f116d..2d38660 100644 --- a/src/CSharp/EasyMicroservices.Cores.Relational.EntityFrameworkCore/EasyMicroservices.Cores.Relational.EntityFrameworkCore.csproj +++ b/src/CSharp/EasyMicroservices.Cores.Relational.EntityFrameworkCore/EasyMicroservices.Cores.Relational.EntityFrameworkCore.csproj @@ -4,7 +4,7 @@ netstandard2.1;net6.0;net7.0;net8.0 AnyCPU;x64;x86 EasyMicroservices - 0.0.1.53 + 0.0.1.54 ef core of Relational database. EasyMicroservices@gmail.com core,cores,base,database,ef,efcore,Relational