Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RangeAttributeAdapter Constructor

Initializes a new instance of the RangeAttribute class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public RangeAttributeAdapter(
	ModelMetadata metadata,
	ControllerContext context,
	RangeAttribute attribute
)

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:
© 2014 Microsoft. All rights reserved.