Beispiel #1
0
        protected void EnsureStudyCanBeUpdated(StudyStorageLocation location)
        {
            string reason;

            if (!location.CanUpdate(out reason))
            {
                throw new StudyIsInInvalidStateException(location, reason);
            }
        }
        private static void EnsureStudyCanBeUpdated(StudyStorageLocation destStudy)
        {
            string reason;

            if (!destStudy.CanUpdate(out reason))
            {
                throw new TargetStudyInvalidStateException(reason)
                      {
                          StudyInstanceUid = destStudy.StudyInstanceUid
                      };
            }
        }
 public bool CanReconcile(StudyStorageLocation location, out string reason)
 {
     return location.CanUpdate(out reason);
 }
Beispiel #4
0
 public bool CanReconcile(StudyStorageLocation location, out string reason)
 {
     return(location.CanUpdate(out reason));
 }
Beispiel #5
0
 private static void EnsureStudyCanBeUpdated(StudyStorageLocation destStudy)
 {
     string reason;
     if (!destStudy.CanUpdate(out reason))
     {
         throw new TargetStudyInvalidStateException(reason) { StudyInstanceUid = destStudy.StudyInstanceUid };
     }
 }