/// <summary> /// 主动获取注入池中的单例对象 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="nameID"></param> /// <returns></returns> public static T ResolveInstance <T>(string nameID = null) { return(mContainer.ResolveInstance <T>(nameID)); }