Exemple #1
0
 public static IEnumerable <object> GetAll(this IResolver resolver, Type type)
 {
     return((object[])ResolverHelper.ConvertArray(type, resolver.ResolveAll(type, null)));
 }
Exemple #2
0
 public static IEnumerable <T> GetAll <T>(this IResolver resolver)
 {
     return((T[])ResolverHelper.ConvertArray(typeof(T), resolver.ResolveAll(typeof(T), null)));
 }