예제 #1
0
        public BuildStoreWorker(string teamFoundationServerUri, string teamProjectName, string teamBuildTypeName, ObservableCollection <BuildSummary> buildSummaries)
        {
            _teamFoundationServerUri = teamFoundationServerUri;
            _teamProjectName         = teamProjectName;
            _teamBuildTypeName       = teamBuildTypeName;
            _buildSummaries          = buildSummaries;
            _summaryFactory          = new BuildSummaryFactory();

            this.WorkerSupportsCancellation = true;
            this.WorkerReportsProgress      = true;
            this.DoWork          += new DoWorkEventHandler(BuildStoreWorker_DoWork);
            this.ProgressChanged += new ProgressChangedEventHandler(BuildStoreWorker_ProgressChanged);
        }
        public BuildStoreWorker(string teamFoundationServerUri, string teamProjectName, string teamBuildTypeName, ObservableCollection<BuildSummary> buildSummaries)
        {
            _teamFoundationServerUri = teamFoundationServerUri;
            _teamProjectName = teamProjectName;
            _teamBuildTypeName = teamBuildTypeName;
            _buildSummaries = buildSummaries;
            _summaryFactory = new BuildSummaryFactory();

            this.WorkerSupportsCancellation = true;
            this.WorkerReportsProgress = true;
            this.DoWork += new DoWorkEventHandler(BuildStoreWorker_DoWork);
            this.ProgressChanged += new ProgressChangedEventHandler(BuildStoreWorker_ProgressChanged);
        }