예제 #1
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;
 }
예제 #2
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;
        }