mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-27 04:06:36 +08:00
26 lines
728 B
C#
26 lines
728 B
C#
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using StartupModules;
|
|
using Yi.Framework.Core.Attributes;
|
|
using Yi.Framework.Core;
|
|
using Yi.Framework.Ddd;
|
|
|
|
namespace Yi.Framework.FileManager
|
|
{
|
|
[DependsOn(
|
|
typeof(YiFrameworkDddModule)
|
|
)]
|
|
public class YiFrameworkFileManagerModule : IStartupModule
|
|
{
|
|
public void Configure(IApplicationBuilder app, ConfigureMiddlewareContext context)
|
|
{
|
|
|
|
}
|
|
|
|
public void ConfigureServices(IServiceCollection services, ConfigureServicesContext context)
|
|
{
|
|
services.AddTransient<FileService>();
|
|
services.AddTransient<IFileService,FileService>();
|
|
}
|
|
}
|
|
} |