public TreeBinder(ITaskViewDataSource source) { if (source != null) this.source = source; else throw new Exception("TreeBinder could not be created with null source"); }
public TreeBinder(ITaskViewDataSource source) { if (source != null) { this.source = source; } else { throw new Exception("TreeBinder could not be created with null source"); } }
public void SetUp() { source = NewMock<ITaskViewDataSource>(); treeBinder = new TreeBinder(source); to = new TreeView(); }
public void SetUp() { source = NewMock <ITaskViewDataSource>(); treeBinder = new TreeBinder(source); to = new TreeView(); }