示例#1
0
文件: IoCTest.cs 项目: ONeville/HCAM
        private void RegisterBlType()
        {
            var dalTypes = BLIoCModules.RegisterTypes();

            foreach (var dt in dalTypes)
            {
                For(dt.Key).Use(dt.Value);
            }
        }
示例#2
0
 public static void Configure(IServiceCollection services)
 {
     Configure(services, DalIoC.RegisterDalTypes());
     Configure(services, BLIoCModules.RegisterTypes());
 }