Aperea.Infrastructure.IoC.WebApiDependencyScope.GetServices C# (CSharp) Метод

GetServices() публичный Метод

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
Результат IEnumerable
        public IEnumerable<object> GetServices(Type serviceType)
        {
            if (_container == null)
                throw new ObjectDisposedException("this", "This scope has already been disposed.");

            return _container.GetAllInstances(serviceType).Cast<object>();
        }