Alloy.Business.StructureMapDependencyResolver.GetService C# (CSharp) 메소드

GetService() 공개 메소드

public GetService ( Type serviceType ) : object
serviceType System.Type
리턴 object
        public object GetService(Type serviceType)
        {
            if (serviceType.IsInterface || serviceType.IsAbstract)
            {
                return GetInterfaceService(serviceType);
            }
            return GetConcreteService(serviceType);
        }