示例#1
0
        public CanvasModel CanvasModel()
        {
            if (_canvasModel == null)
            {
                _canvasModel = new CanvasModel(_canvasData.CanvasSettingsData);
            }

            return(_canvasModel);
        }
 public CanvasInitialization(CanvasFactory canvasFactory)
 {
     _canvasFactory = canvasFactory;
     _canvasModel   = _canvasFactory.CanvasModel();
 }