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