コード例 #1
0
 protected override void OnExecute(CommandProcessor theProcessor)
 {
     // backup
     if (_studyXml.Contains(_seriesUid))
     {
         Platform.Log(LogLevel.Info, "Removing series {0} from StudyXML for study {1}", _seriesUid, _studyInstanceUid);
         _oldSeriesXml = _studyXml[_seriesUid];
         if (!_studyXml.RemoveSeries(_seriesUid))
         {
             throw new ApplicationException(String.Format("Could not remove series {0} from study {1}", _seriesUid, _studyInstanceUid));
         }
     }
 }