Cares.WebBase.UnityConfiguration.UnityDependencyScope.GetServices C# (CSharp) Method

GetServices() public method

Resolve multiple types
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable
        public IEnumerable<object> GetServices(Type serviceType)
        {
            if (UnityRegistrationCache.IsRegistered(container, serviceType))
            {
                return container.ResolveAll(serviceType);
            }
            return new List<object>();
        }