Example #1
0
        public LayoutController(
            IContentManager contentManager,
            ILayoutManager layoutManager,
            ILayoutModelMapper mapper,
            ITomeltServices tomeltServices)
        {
            _contentManager = contentManager;
            _layoutManager  = layoutManager;
            _mapper         = mapper;
            Services        = tomeltServices;

            T = NullLocalizer.Instance;
        }
 public LayoutEditorFactory(
     ILayoutModelMapper mapper,
     ILayoutManager layoutManager,
     IElementManager elementManager,
     IElementDisplay elementDisplay,
     IShapeDisplay shapeDisplay)
 {
     _mapper         = mapper;
     _layoutManager  = layoutManager;
     _elementManager = elementManager;
     _elementDisplay = elementDisplay;
     _shapeDisplay   = shapeDisplay;
 }
Example #3
0
        public LayoutController(
            IContentManager contentManager, 
            ILayoutManager layoutManager, 
            ILayoutModelMapper mapper,
            IOrchardServices orchardServices) {

            _contentManager = contentManager;
            _layoutManager = layoutManager;
            _mapper = mapper;
            Services = orchardServices;

            T = NullLocalizer.Instance;
        }
Example #4
0
        public LayoutEditorFactory(
            ILayoutModelMapper mapper, 
            ILayoutManager layoutManager, 
            IElementManager elementManager, 
            IElementDisplay elementDisplay, 
            IShapeDisplay shapeDisplay) {

            _mapper = mapper;
            _layoutManager = layoutManager;
            _elementManager = elementManager;
            _elementDisplay = elementDisplay;
            _shapeDisplay = shapeDisplay;
        }
Example #5
0
 public LayoutPartDriver(
     ILayoutSerializer serializer,
     IElementDisplay elementDisplay,
     IElementManager elementManager,
     ILayoutManager layoutManager,
     Lazy <IContentPartDisplay> contentPartDisplay,
     IShapeDisplay shapeDisplay,
     ILayoutModelMapper mapper,
     ILayoutEditorFactory layoutEditorFactory)
 {
     _serializer          = serializer;
     _elementDisplay      = elementDisplay;
     _elementManager      = elementManager;
     _layoutManager       = layoutManager;
     _contentPartDisplay  = contentPartDisplay;
     _shapeDisplay        = shapeDisplay;
     _mapper              = mapper;
     _layoutEditorFactory = layoutEditorFactory;
 }
Example #6
0
 public ElementController(
     IElementDisplay elementDisplay,
     IElementManager elementManager,
     IShapeFactory shapeFactory,
     ITransactionManager transactionManager,
     IContentManager contentManager,
     IObjectStore objectStore,
     IShapeDisplay shapeDisplay,
     ILayoutModelMapper mapper)
 {
     _elementDisplay     = elementDisplay;
     _elementManager     = elementManager;
     _shapeFactory       = shapeFactory;
     _transactionManager = transactionManager;
     _contentManager     = contentManager;
     _objectStore        = objectStore;
     _shapeDisplay       = shapeDisplay;
     _mapper             = mapper;
 }
Example #7
0
        public LayoutPartDriver(
            ILayoutSerializer serializer,
            IElementDisplay elementDisplay,
            IElementManager elementManager,
            ILayoutManager layoutManager,
            Lazy <IContentPartDisplay> contentPartDisplay,
            IShapeDisplay shapeDisplay,
            ILayoutModelMapper mapper,
            ILayoutEditorFactory layoutEditorFactory)
        {
            _serializer          = serializer;
            _elementDisplay      = elementDisplay;
            _elementManager      = elementManager;
            _layoutManager       = layoutManager;
            _contentPartDisplay  = contentPartDisplay;
            _shapeDisplay        = shapeDisplay;
            _mapper              = mapper;
            _layoutEditorFactory = layoutEditorFactory;
            _stack = new HashSet <string>();

            Logger = NullLogger.Instance;
        }
Example #8
0
        public LayoutController(IContentManager contentManager, ILayoutManager layoutManager, ILayoutModelMapper mapper) {

            _contentManager = contentManager;
            _layoutManager = layoutManager;
            _mapper = mapper;
        }
Example #9
0
 public LayoutController(IContentManager contentManager, ILayoutManager layoutManager, ILayoutModelMapper mapper)
 {
     _contentManager = contentManager;
     _layoutManager  = layoutManager;
     _mapper         = mapper;
 }