Пример #1
0
 public HomeController(IWorkContextAccessor workContextAccessor,
                       IListService listService,
                       IListItemService listItemService,
                       IListItemCommentService listItemCommentService,
                       IListCategoryService listCategoryService,
                       IListFieldService listFieldService,
                       IListCategoryPathConstraint listCategoryPathConstraint)
     : base(workContextAccessor)
 {
     this.listService                = listService;
     this.listItemService            = listItemService;
     this.listItemCommentService     = listItemCommentService;
     this.listCategoryService        = listCategoryService;
     this.listFieldService           = listFieldService;
     this.listCategoryPathConstraint = listCategoryPathConstraint;
 }
Пример #2
0
 public ListPathConstraintUpdator(IListPathConstraint listPathConstraint, IComponentContext componentContext, IListCategoryPathConstraint listCategoryPathConstraint)
 {
     this.listPathConstraint         = listPathConstraint;
     this.componentContext           = componentContext;
     this.listCategoryPathConstraint = listCategoryPathConstraint;
 }