/// <summary>
 /// 注册给定程序集中符合条件的所有类型
 /// </summary>
 /// <param name="typePredicate"></param>
 /// <param name="assemblies"></param>
 public void RegisterTypes(Func <Type, bool> typePredicate, params Assembly[] assemblies)
 {
     _container.RegisterTypes(typePredicate, assemblies);
 }