Exemplo n.º 1
0
 public IEnumerable <T> GetAll()
 {
     return(container.GetAllInstances <T>());
 }
Exemplo n.º 2
0
 protected override IEnumerable <object> GetAllInstances(Type service)
 {
     return(container.GetAllInstances(service));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Gets all instances.
 /// </summary>
 /// <typeparam name="T">Type of the instance</typeparam>
 /// <returns>All the instances from the container.</returns>
 public static IEnumerable <T> GetAllInstances <T>() => container.GetAllInstances <T>();