public IEnumerable <T> GetAll() { return(container.GetAllInstances <T>()); }
protected override IEnumerable <object> GetAllInstances(Type service) { return(container.GetAllInstances(service)); }
/// <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>();