示例#1
0
        public BaselineManager(BaselineDBWrapper baselineDBWrapper)
        {
            _baselineDBWrapper     = baselineDBWrapper;
            _baselineInfoViewModel = new BaselineInfoViewModel();

            _baselineInfoViewModel.Baselines = new ObservableCollection <BaselineInfo>(_baselineDBWrapper.GetAllBaselineInfos());
        }
示例#2
0
        public MainWindow()
        {
            InitializeComponent();

            txtProjectCollectionUrl.Text = "http://ie3blt2x8src2:8080/tfs/DefaultCollection";

            _baselineDBWrapper = new BaselineDBWrapper();

            _tfsWorkItemManager = new TFSWorkItemManager();

            HandleViewsOnLoad();

            _baselineManager = new BaselineManager(_baselineDBWrapper);

            LoadBaselines();
        }