Class RegexAttribute
- Namespace
- CSV4Unity.Validation
- Assembly
- CSV4Unity.Docs.dll
セル文字列が指定した正規表現に一致することを要求します。
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public class RegexAttribute : CsvValidationAttribute
- Inheritance
-
objectAttributeRegexAttribute
- Inherited Members
Remarks
正規表現はSystem.Text.RegularExpressions.RegexOptions.CultureInvariantで生成されます。
Constructors
- RegexAttribute(string)
正規表現パターンを設定します。
Properties
- Pattern
正規表現パターンを取得します。