Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Contracts Namespace / Regular­Expression­Attribute Class / Regular­Expression­Attribute Constructor / Regular­Expression­Attribute Constructor (String)

RegularExpressionAttribute Constructor (String)

Initializes a new RegularExpressionAttribute.

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
public RegularExpressionAttribute(
	string pattern
)

Parameters

pattern
Type: System.String
The regular expression.
See Also