public BaselineManager(BaselineDBWrapper baselineDBWrapper) { _baselineDBWrapper = baselineDBWrapper; _baselineInfoViewModel = new BaselineInfoViewModel(); _baselineInfoViewModel.Baselines = new ObservableCollection <BaselineInfo>(_baselineDBWrapper.GetAllBaselineInfos()); }
public MainWindow() { InitializeComponent(); txtProjectCollectionUrl.Text = "http://ie3blt2x8src2:8080/tfs/DefaultCollection"; _baselineDBWrapper = new BaselineDBWrapper(); _tfsWorkItemManager = new TFSWorkItemManager(); HandleViewsOnLoad(); _baselineManager = new BaselineManager(_baselineDBWrapper); LoadBaselines(); }