RangeAttributeAdapter Constructor (ModelMetadata, ModelBindingExecutionContext, RangeAttribute)

.NET Framework (current version)
 

Initializes a new instance of the RangeAttributeAdapter class.

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

public RangeAttributeAdapter(
	ModelMetadata metadata,
	ModelBindingExecutionContext context,
	RangeAttribute attribute
)

Parameters

metadata
Type: System.Web.ModelBinding.ModelMetadata

The metadata.

context
Type: System.Web.ModelBinding.ModelBindingExecutionContext

The context.

attribute
Type: System.ComponentModel.DataAnnotations.RangeAttribute

The attribute.

.NET Framework
Available since 4.5
Return to top
Show: