From 2e5d53bdde2df2419f879d4acad8f39fdbcf5b1a Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期五, 22 十一月 2024 10:20:42 +0800 Subject: [PATCH] 代码更新 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs index 370e2d5..4bd22d5 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs @@ -58,16 +58,16 @@ .InterceptedBy(cacheType.ToArray()); - foreach (var assembly in assemblyList) - { - foreach (var type in assembly.GetTypes()) - { - if (!type.IsInterface && !type.IsAbstract && baseType.IsAssignableFrom(type)) - { - Console.WriteLine($"娉ㄥ唽绫诲瀷: {type.FullName}"); - } - } - } + //foreach (var assembly in assemblyList) + //{ + // foreach (var type in assembly.GetTypes()) + // { + // if (!type.IsInterface && !type.IsAbstract && baseType.IsAssignableFrom(type)) + // { + // Console.WriteLine($"娉ㄥ唽绫诲瀷: {type.FullName}"); + // } + // } + //} builder.RegisterType<UnitOfWorkManage>().As<IUnitOfWorkManage>() .AsImplementedInterfaces() -- Gitblit v1.9.3