/// <summary> /// 创建实例 /// </summary> /// <param name="type">对象类型</param> public static object Create(Type type) { return(Container.Create(type)); }
/// <summary> /// 创建实例 /// </summary> /// <typeparam name="T">实例类型</typeparam> public static T Create <T>() { return(Container.Create <T>()); }