Alloy.Business.StructureMapDependencyResolver.GetConcreteService C# (CSharp) Method

GetConcreteService() private method

private GetConcreteService ( Type serviceType ) : object
serviceType System.Type
return 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;
            }
        }