Exemplo n.º 1
0
 public ExplorerTestPresenter(IExplorerTestView view, IExplorerForTestPresenter explorerForTestPresenter) : base(view)
 {
     _explorerForTestPresenter = explorerForTestPresenter;
     _explorerForTestPresenter.Initialize();
     _explorerForTestPresenter.AddNode(new ObjectWithIdAndNameNode <Parameter>(new Parameter().WithId("1").WithName("Para1")));
     _explorerForTestPresenter.AddNode(new ObjectWithIdAndNameNode <Parameter>(new Parameter().WithId("2").WithName("A very long name that should not fit in the view and requires scrolling")));
 }
 public ExplorerTestPresenter(IExplorerTestView view, IExplorerForTestPresenter explorerForTestPresenter) : base(view)
 {
     _explorerForTestPresenter = explorerForTestPresenter;
     _explorerForTestPresenter.Initialize();
     _explorerForTestPresenter.AddNode(new ObjectWithIdAndNameNode <Parameter>(new Parameter().WithId("1").WithName("Para1")));
     _explorerForTestPresenter.AddNode(new ObjectWithIdAndNameNode <Parameter>(new Parameter().WithId("2").WithName("Para2")));
 }