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); }
public bool CanReconcile(StudyStorageLocation location, out string reason) { return(location.CanUpdate(out reason)); }