public IEnumerable <object> ResolveAll(Type dependencyType) { Guard.AgainstNull(dependencyType, "dependencyType"); try { return(_container.GetAllInstances(dependencyType)); } catch (Exception ex) { throw new TypeResolutionException(ex.Message, ex); } }
public IEnumerable <T> GetAll <T>() { return(_container.GetAllInstances <T>()); }
/// <inheritdoc/> public IEnumerable <T> GetAll <T>() { return(_container.GetAllInstances(typeof(T)) as IEnumerable <T>); }