Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TagReplacement"/> class.
 /// </summary>
 /// <param name="operation">The operation.</param>
 /// <param name="dicomTagIndex">Index of the dicom tag.</param>
 /// <param name="value">The value.</param>
 /// <exception cref="ArgumentNullException">
 /// dicomTagIndex
 /// or
 /// value
 /// </exception>
 public TagReplacement(TagReplacementOperation operation, DicomTagIndex dicomTagIndex, string value)
 {
     Operation     = operation;
     DicomTagIndex = dicomTagIndex ?? throw new ArgumentNullException(nameof(dicomTagIndex));
     Value         = value ?? throw new ArgumentNullException(nameof(value));
 }
 public DicomTagAnonymisation(DicomTagIndex dicomTagIndex, AnonymisationMethod anonymisationProtocol)
 {
     DicomTagIndex         = dicomTagIndex;
     AnonymisationProtocol = anonymisationProtocol;
 }