RangeAttributeAdapter Constructor

Initializes a new instance of the RangeAttribute class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public function RangeAttributeAdapter(
	metadata : ModelMetadata, 
	context : ControllerContext, 
	attribute : RangeAttribute
)

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

The model metadata.

context
Type: System.Web.Mvc.ControllerContext

The controller context.

attribute
Type: System.ComponentModel.DataAnnotations.RangeAttribute

The range attribute.

Show: