public ProjectIntegrator(ITrigger trigger, IIntegratable integratable, IProject project) { _trigger = trigger; _project = project; _integratable = integratable; this.resultManager = project.IntegrationResultManager; }
public IntegrationRunner(IIntegrationResultManager resultManager, IIntegrationRunnerTarget target, IQuietPeriod quietPeriod, IProject project) { this.target = target; this.quietPeriod = quietPeriod; this.resultManager = resultManager; this._Project = project; }
public IntegrationRunner(IIntegrationResultManager resultManager, IIntegrationRunnerTarget target, IQuietPeriod quietPeriod, Project project) { this.target = target; this.quietPeriod = quietPeriod; this.resultManager = resultManager; this._Project = project; }
/// <summary> /// Initializes a new instance of the <see cref="IntegrationRunner" /> class. /// </summary> /// <param name="resultManager">The result manager.</param> /// <param name="target">The target.</param> /// <param name="quietPeriod">The quiet period.</param> /// <remarks></remarks> public IntegrationRunner(IIntegrationResultManager resultManager, IIntegrationRunnerTarget target, IQuietPeriod quietPeriod) { this.target = target; this.quietPeriod = quietPeriod; this.resultManager = resultManager; }
public Project() { _IntegrationResultManager = new IntegrationResultManager(this); integratable = new IntegrationRunner(_IntegrationResultManager, this, quietPeriod, this); }
/// <summary> /// Initializes a new instance of the <see cref="Project"/> class. /// </summary> public Project() { integrationResultManager = new IntegrationResultManager(this); integratable = new IntegrationRunner(integrationResultManager, this, quietPeriod); this.PrebuildTasks = new ITask[0]; this.CryptoFunctions = new DefaultCryptoFunctions(); // Generates the initial snapshot currentProjectStatus = new ProjectStatusSnapshot(); PropertyChanged += delegate(object sender, PropertyChangedEventArgs e) { switch (e.PropertyName) { case "Name": lock (currentProjectStatus) { currentProjectStatus.Name = Name; } break; case "Description": lock (currentProjectStatus) { currentProjectStatus.Description = Description; } break; } }; }