摘要:
//所有的service继承一个公共的接口,根据这个公共接口进行注入 //未处理泛型,所以此处的类型需要使用公共接口 public class RepositoryDIFactory { private static RepositoryDIFactory data; public static R 阅读全文
摘要:
public static bool RunningModeIsDebug { get { var assebly = Assembly.GetEntryAssembly(); if (assebly == null) { assebly = new StackTrace().GetFrames() 阅读全文