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;
            }
        }