public RegexConstraint(DicomTagIndex index, string expression, RegexOptions options = RegexOptions.None, int ordinal = 0)
     : base(index)
 {
     Expression = expression;
     Options    = options;
     Ordinal    = ordinal;
 }
 public OrderedDoubleConstraint(DicomTagIndex index, DicomOrderedTag <double> function)
     : base(index)
 {
     Function = function ?? throw new ArgumentNullException(nameof(function));
 }
 public UIDStringOrderConstraint(DicomTagIndex index, DicomOrderedTag <OrderedString> function)
     : base(index)
 {
     Function = function ?? throw new ArgumentNullException(nameof(function));
 }
 public GroupTagConstraint(GroupConstraint group, DicomTagIndex index)
     : base(index)
 {
     Group = group ?? throw new ArgumentNullException(nameof(group));
 }
Exemplo n.º 5
0
 public TimeOrderConstraint(DicomTagIndex index, DicomOrderedTag <TimeSpan> function)
     : base(index)
 {
     Function = function ?? throw new ArgumentNullException(nameof(function));
 }
 /// <summary>
 /// Construct a new instance
 /// </summary>
 /// <param name="index"></param>
 protected DicomTagConstraint(DicomTagIndex index)
 {
     Index = index;
 }
 public StringContainsConstraint(DicomTagIndex index, string match, int ordinal = 0)
     : base(index)
 {
     Match   = match ?? throw new ArgumentNullException(nameof(match));
     Ordinal = ordinal;
 }