private void PrintUpdateCommands()
{
var log = new StringBuilder();
log.AppendLine(String.Format("Study to be updated:"));
log.AppendLine(String.Format("\tServer Partition: {0}", _partition.AeTitle));
log.AppendLine(String.Format("\tStorage GUID: {0}", _oldStudyLocation.Key.Key));
log.AppendLine(String.Format("\tPatient ID: {0}", _study.PatientId));
log.AppendLine(String.Format("\tPatient Name: {0}", _study.PatientsName));
log.AppendLine(String.Format("\tAccession #: {0}", _study.AccessionNumber));
log.AppendLine(String.Format("\tStudy ID : {0}", _study.StudyId));
log.AppendLine(String.Format("\tStudy Date : {0}", _study.StudyDate));
log.AppendLine(String.Format("\tPatient's Birth Date : {0}", _study.PatientsBirthDate));
log.AppendLine(String.Format("\tStudy Instance Uid: {0}", _study.StudyInstanceUid));
log.AppendLine(String.Format("\tInstance Count: {0}", _study.NumberOfStudyRelatedInstances));
log.AppendLine(String.Format("\tCurrent location: {0}", _oldStudyPath));
log.AppendLine();
log.AppendLine("Changes to be applied:");
foreach (BaseImageLevelUpdateCommand cmd in _commands)
{
log.AppendLine(String.Format("\t{0}", cmd));
}
log.AppendLine(String.Format("\tNew location: {0}", NewStudyPath));
Platform.Log(LogLevel.Info, log);
}