Пример #1
0
        public CanvasModel CanvasModel()
        {
            if (_canvasModel == null)
            {
                _canvasModel = new CanvasModel(_canvasData.CanvasSettingsData);
            }

            return(_canvasModel);
        }
Пример #2
0
 public CanvasInitialization(CanvasFactory canvasFactory)
 {
     _canvasFactory = canvasFactory;
     _canvasModel   = _canvasFactory.CanvasModel();
 }