RangeAttributeAdapter Constructor (ModelMetadata, ControllerContext, RangeAttribute)
Initializes a new instance of the RangeAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Public Sub New ( metadata As ModelMetadata, context As ControllerContext, attribute As 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: