RegularExpressionAttributeAdapter(ModelMetadata, ControllerContext, RegularExpressionAttribute) RegularExpressionAttributeAdapter(ModelMetadata, ControllerContext, RegularExpressionAttribute) RegularExpressionAttributeAdapter(ModelMetadata, ControllerContext, RegularExpressionAttribute) Constructor

Definition

Initializes a new instance of the RegularExpressionAttributeAdapter class.

public RegularExpressionAttributeAdapter (System.Web.Mvc.ModelMetadata metadata, System.Web.Mvc.ControllerContext context, System.ComponentModel.DataAnnotations.RegularExpressionAttribute attribute);
new System.Web.Mvc.RegularExpressionAttributeAdapter : System.Web.Mvc.ModelMetadata * System.Web.Mvc.ControllerContext * System.ComponentModel.DataAnnotations.RegularExpressionAttribute -> System.Web.Mvc.RegularExpressionAttributeAdapter
Public Sub New (metadata As ModelMetadata, context As ControllerContext, attribute As RegularExpressionAttribute)

Parameters

metadata
ModelMetadata ModelMetadata ModelMetadata

The model metadata.

context
ControllerContext ControllerContext ControllerContext

The controller context.

Applies to