ClearCanvas.ImageViewer.StudyManagement.Sop.ValidateInternal C# (CSharp) Method

ValidateInternal() protected method

Validates the Sop object.
Derived classes should call the base class implementation first, and then do further validation. The Sop class validates properties deemed vital to usage of the object.
Thrown when validation fails.
protected ValidateInternal ( ) : void
return void
		protected virtual void ValidateInternal()
		{
			if (_disableSopValidation)
				return;

			DicomValidator.ValidateSOPInstanceUID(SopInstanceUid, false);
            DicomValidator.ValidateSeriesInstanceUID(SeriesInstanceUid, false);
            DicomValidator.ValidateStudyInstanceUID(StudyInstanceUid, false);
		}