Files
2019-09-26 10:55:56 +08:00

37 lines
1.1 KiB
C#
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//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(IService­Provider serviceProvider, string projectName, string tableName)
// //{
// // return (dynamic)serviceProvider.
// // GetService(
// // Type.GetType("Framework." +
// // projectName + ".IServices.I" +
// // tableName + "Service," +
// // "Framework." + projectName
// // )
// // );
// //}
// }
//}