private Modification[] GetModifications(IIntegrationResult from, IIntegrationResult to)
        {
            target.Activity = ProjectActivity.CheckingModifications;
            to.BuildProgressInformation.SignalStartRunTask("Getting source ... ");

            target.RecordSourceControlOperation(SourceControlOperation.CheckForModifications, ItemBuildStatus.Running);

            bool success = false;

            try
            {
                Modification[] modifications = quietPeriod.GetModifications(target.SourceControl, from, to);
                success = true;
                return(modifications);
            }
            finally
            {
                target.RecordSourceControlOperation(SourceControlOperation.CheckForModifications,
                                                    success ? ItemBuildStatus.CompletedSuccess : ItemBuildStatus.CompletedFailed);
            }
        }
 private Modification[] GetModifications(IIntegrationResult from, IIntegrationResult to)
 {
     target.Activity = ProjectActivity.CheckingModifications;
     return(quietPeriod.GetModifications(target.SourceControl, from, to));
 }