Alloy.Business.StructureMapDependencyResolver.GetConcreteService C# (CSharp) Метод

GetConcreteService() приватный Метод

private GetConcreteService ( Type serviceType ) : object
serviceType System.Type
Результат object
        private object GetConcreteService(Type serviceType)
        {
            try
            {
                // Can't use TryGetInstance here because it won’t create concrete types
                return _container.GetInstance(serviceType);
            }
            catch (StructureMapException)
            {
                return null;
            }
        }