RangeAttributeAdapter Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the RangeAttributeAdapter class.
Namespace: System.Web.Http.Validation.Validators
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
metadata As ModelMetadata, _
actionContext As HttpActionContext, _
attribute As RangeAttribute _
)
public RangeAttributeAdapter(
ModelMetadata metadata,
HttpActionContext actionContext,
RangeAttribute attribute
)
public:
RangeAttributeAdapter(
ModelMetadata^ metadata,
HttpActionContext^ actionContext,
RangeAttribute^ attribute
)
new :
metadata:ModelMetadata *
actionContext:HttpActionContext *
attribute:RangeAttribute -> RangeAttributeAdapter
public function RangeAttributeAdapter(
metadata : ModelMetadata,
actionContext : HttpActionContext,
attribute : RangeAttribute
)
Parameters
- metadata
Type: System.Web.Http.Metadata.ModelMetadata
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
- attribute
Type: System.ComponentModel.DataAnnotations.RangeAttribute