RouteDataValueProvider Constructor
Initializes a new instance of the RouteDataValueProvider class.
Namespace: System.Web.Http.ValueProviders.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
actionContext As HttpActionContext, _
culture As CultureInfo _
)
'Usage
Dim actionContext As HttpActionContext
Dim culture As CultureInfo
Dim instance As New RouteDataValueProvider(actionContext, _
culture)
public RouteDataValueProvider(
HttpActionContext actionContext,
CultureInfo culture
)
public:
RouteDataValueProvider(
HttpActionContext^ actionContext,
CultureInfo^ culture
)
new :
actionContext:HttpActionContext *
culture:CultureInfo -> RouteDataValueProvider
public function RouteDataValueProvider(
actionContext : HttpActionContext,
culture : CultureInfo
)
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
An object that contain information about the HTTP request.
- culture
Type: System.Globalization.CultureInfo
An object that contains information about the target culture.