/// <summary>解析接口指定名称的实现类型</summary>
 /// <typeparam name="TInterface">接口类型</typeparam>
 /// <param name="container">对象容器</param>
 /// <param name="id">标识</param>
 /// <returns></returns>
 public static Type ResolveType <TInterface>(this IObjectContainer container, Object id = null)
 {
     return(container.ResolveType(typeof(TInterface), id));
 }
 /// <summary>解析接口指定名称的实现类型</summary>
 /// <typeparam name="TInterface">接口类型</typeparam>
 /// <param name="container">对象容器</param>
 /// <param name="id">标识</param>
 /// <param name="extend">扩展。若为ture,name为null而找不到时,采用第一个注册项;name不为null而找不到时,采用null注册项</param>
 /// <returns></returns>
 public static Type ResolveType <TInterface>(this IObjectContainer container, Object id = null, Boolean extend = false)
 {
     return(container.ResolveType(typeof(TInterface), id, extend));
 }