public CustomSortAdminController(
            ISiteService siteService,
            ICustomSortService sortService,
            IProjectionManager projectionManager,
            IContentManager contentManager,
            IOrchardServices services,
            IShapeFactory shapeFactory) {

            _siteService = siteService;
            _sortService = sortService;
            _projectionManager = projectionManager;
            _contentManager = contentManager;
            _services = services;

            Shape = shapeFactory;
            T = NullLocalizer.Instance;
        }
示例#2
0
        public CustomSortAdminController(
            ISiteService siteService,
            ICustomSortService sortService,
            IProjectionManager projectionManager,
            IContentManager contentManager,
            IOrchardServices services,
            IShapeFactory shapeFactory)
        {
            _siteService       = siteService;
            _sortService       = sortService;
            _projectionManager = projectionManager;
            _contentManager    = contentManager;
            _services          = services;

            Shape = shapeFactory;
            T     = NullLocalizer.Instance;
        }
示例#3
0
 public CustomSortCriteria(ICustomSortService customSortService, UrlHelper urlHelper) {
     _customSortService = customSortService;
     _url = urlHelper;
     T = NullLocalizer.Instance;
 }
 public CustomSortCriteria(ICustomSortService customSortService, UrlHelper urlHelper)
 {
     _customSortService = customSortService;
     _url = urlHelper;
     T    = NullLocalizer.Instance;
 }