public IEnumerable <object> GetServices(Type serviceType) { if (IsRegistered(serviceType)) { yield return(ChildContainer.Resolve(serviceType)); } foreach (var service in ChildContainer.ResolveAll(serviceType)) { yield return(service); } }
public IEnumerable <object> GetServices(Type serviceType) { return(ChildContainer.ResolveAll(serviceType)); }