示例#1
0
 /// <summary>
 /// Disables that the content of DicomItems shall be validated as soon as they are added to the DicomDataset.
 /// This disables validation gobally instead of turning validation off for every single DicomDataset.
 /// </summary>
 public static DicomSetupBuilder SkipValidation(this DicomSetupBuilder builder)
 {
     DicomValidation.PerformValidation = false;
     return(builder);
 }
示例#2
0
 /// <summary>
 /// Enables that the content of DicomItems shall be validated as soon as they are added to the DicomDataset.
 /// This enables fo-dicom to do validation globally instead of the datasets, where validation is disabled explicit.
 /// </summary>
 public static DicomSetupBuilder DoValidation(this DicomSetupBuilder builder)
 {
     DicomValidation.PerformValidation = true;
     return(builder);
 }