예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LikeCriteria"/> class.
 /// </summary>
 /// <param name="fieldName">Name of the field.</param>
 /// <param name="value">The value.</param>
 /// <param name="matchMode">The match mode.</param>
 public LikeCriteria(string fieldName, string value, LikeMatchModeEnum matchMode)
     : base(fieldName)
 {
     if (value == null)
     {
         ThrowHelper.ThrowArgumentNullException("value");
     }
     this.mValue = value;
     this.mMatchMode = matchMode;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LikeCriteria"/> class.
 /// </summary>
 /// <param name="fieldName">Name of the field.</param>
 /// <param name="value">The value.</param>
 /// <param name="matchMode">The match mode.</param>
 public LikeCriteria(string fieldName, string value, LikeMatchModeEnum matchMode)
     : base(fieldName)
 {
     if (value == null)
     {
         ThrowHelper.ThrowArgumentNullException("value");
     }
     this.mValue     = value;
     this.mMatchMode = matchMode;
 }