添加模块化功能+动态api

This commit is contained in:
陈淳
2023-01-11 15:05:31 +08:00
parent b2ac98d25e
commit 140f2970c4
43 changed files with 928 additions and 65 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Ddd.Repository
{
public interface IRepository<T>
{
Task<T> GetByIdAsync(dynamic id);
}
}

View File

@@ -6,4 +6,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Yi.Framework.Core\Yi.Framework.Core.csproj" />
</ItemGroup>
</Project>

View File

@@ -9,16 +9,14 @@ using System.Threading.Tasks;
namespace Yi.Framework.Ddd
{
public class YiFrameworkModule : IStartupModule
public class YiFrameworkDddModule:IStartupModule
{
public void Configure(IApplicationBuilder app, ConfigureMiddlewareContext context)
{
throw new NotImplementedException();
}
public void ConfigureServices(IServiceCollection services, ConfigureServicesContext context)
{
throw new NotImplementedException();
}
}
}