mirror of
https://github.com/cq-panda/Vue.NetCore.git
synced 2026-10-29 06:07:04 +08:00
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
//using VOL.Core.Extensions;
|
||
//using Microsoft.Extensions.DependencyInjection;
|
||
//using System;
|
||
//using System.Collections.Generic;
|
||
//using System.Linq;
|
||
//using System.Text;
|
||
//using System.Threading.Tasks;
|
||
|
||
|
||
//namespace VOL.Core.AutofacBase
|
||
//{
|
||
// public class AutofacContainerModule
|
||
// {
|
||
// public static dynamic GetService(string projectName, string tableName)
|
||
// {
|
||
// return
|
||
// Type.GetType("Framework." +
|
||
// projectName + ".IServices.I" +
|
||
// tableName + "Service," +
|
||
// "Framework." + projectName
|
||
// ).GetService();
|
||
|
||
// }
|
||
// //public static dynamic GetService(IServiceProvider serviceProvider, string projectName, string tableName)
|
||
// //{
|
||
// // return (dynamic)serviceProvider.
|
||
// // GetService(
|
||
// // Type.GetType("Framework." +
|
||
// // projectName + ".IServices.I" +
|
||
// // tableName + "Service," +
|
||
// // "Framework." + projectName
|
||
// // )
|
||
// // );
|
||
// //}
|
||
// }
|
||
//}
|