Пример #1
0
 public void SetRowManager(IRowManager manager)
 {
     RowManager   = manager;
     subscription = RowManager.Subscribe(this);
 }
Пример #2
0
 protected DataProvider(IController parent, IDataProviderOwner owner, IColumnManager columnManager, IRowManager rowManager, ISelectionManager selectionManager)
     : base(parent)
 {
     Owner            = owner;
     ColumnManager    = columnManager ?? AddSubController(new ColumnManager(this, owner));
     RowManager       = rowManager ?? AddSubController(new RowManager(this, owner));
     SelectionManager = selectionManager ?? AddSubController(new SelectionManager(this, owner));;
 }