protected override void Initialize(bool initData) { base.Initialize(initData); if (initData) { _listController = new DashPatternListController(); _listController.InitializeDocument(_doc.ListOfValues); } if (null != _view) { _listController.ViewObject = _view; } }
public override IEnumerable <ControllerAndSetNullMethod> GetSubControllers() { yield return(new ControllerAndSetNullMethod(_listController, () => _listController = null)); }