PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Regular­Expression­Attribute Class/Regular­Expression­Attribute Methods/Regular­Expression­Attribute.​Validate­Value­Dynamic Method

RegularExpressionAttribute.ValidateValueDynamic Method

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public override Exception ValidateValueDynamic(
	Object value,
	string locationName,
	LocationKind locationKind,
	LocationValidationContext context
)

Parameters

value
Type: System.Object
locationName
Type: System.String
locationKind
Type: PostSharp.Reflection.LocationKind
context
Type: PostSharp.Aspects.LocationValidationContext

Return Value

Type: Exception
See Also