コード例 #1
0
        protected void EnsureStudyCanBeUpdated(StudyStorageLocation location)
        {
            string reason;

            if (!location.CanUpdate(out reason))
            {
                throw new StudyIsInInvalidStateException(location, reason);
            }
        }
コード例 #2
0
        private static void EnsureStudyCanBeUpdated(StudyStorageLocation destStudy)
        {
            string reason;

            if (!destStudy.CanUpdate(out reason))
            {
                throw new TargetStudyInvalidStateException(reason)
                      {
                          StudyInstanceUid = destStudy.StudyInstanceUid
                      };
            }
        }
コード例 #3
0
 public bool CanReconcile(StudyStorageLocation location, out string reason)
 {
     return location.CanUpdate(out reason);
 }
コード例 #4
0
 public bool CanReconcile(StudyStorageLocation location, out string reason)
 {
     return(location.CanUpdate(out reason));
 }
コード例 #5
0
ファイル: AutoReconciler.cs プロジェクト: UIKit0/ClearCanvas
 private static void EnsureStudyCanBeUpdated(StudyStorageLocation destStudy)
 {
     string reason;
     if (!destStudy.CanUpdate(out reason))
     {
         throw new TargetStudyInvalidStateException(reason) { StudyInstanceUid = destStudy.StudyInstanceUid };
     }
 }