Beispiel #1
0
        public object GetService(Type serviceType)
        {
            object result = container.TryGetInstance(serviceType);

            if (result == null)
            {
                result = this.dependencyResolver.GetService(serviceType);
            }
            return(result);
        }