コード例 #1
0
 /// <summary>
 /// Contructor
 /// </summary>
 /// <param name="fieldNames"></param>
 /// <param name="matchCount"></param>
 /// <param name="matchType"></param>
 public RequiredFieldAttribute(FieldMatchCount matchCount, FieldMatchType matchType, params string[] fieldNames)
 {
     _fieldNames = fieldNames;
     _matchCount = matchCount;
     _matchType = matchType;
 }
コード例 #2
0
 /// <summary>
 /// Contructor
 /// </summary>
 /// <param name="fieldNames"></param>
 /// <param name="matchCount"></param>
 /// <param name="matchType"></param>
 public RequiredFieldAttribute(FieldMatchCount matchCount, FieldMatchType matchType, params string[] fieldNames)
 {
     _fieldNames = fieldNames;
     _matchCount = matchCount;
     _matchType  = matchType;
 }