PostSharp / / API Reference / Post­Sharp.​Patterns.​Contracts / Regular­Expression­Attribute / Regular­Expression­Attribute

Constructor RegularExpressionAttribute

RegularExpressionAttribute(String)

Declaration
public RegularExpressionAttribute(string pattern)
Parameters
Type Name Description
String pattern

RegularExpressionAttribute(String, RegexOptions)

Declaration
public RegularExpressionAttribute(string pattern, RegexOptions options)
Parameters
Type Name Description
String pattern
RegexOptions options