Пример #1
0
 /// <summary>
 /// 获取指定服务类型的所有注入对象
 /// </summary>
 /// <typeparam name="T">服务类型</typeparam>
 /// <returns></returns>
 public static IEnumerable <T> GetAll <T>()
 {
     return(_diContainer.GetAll <T>());
 }