QueryStringValueProvider Constructor
Initializes a new instance of the QueryStringValueProvider 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 QueryStringValueProvider(actionContext, _
culture)
public QueryStringValueProvider(
HttpActionContext actionContext,
CultureInfo culture
)
public:
QueryStringValueProvider(
HttpActionContext^ actionContext,
CultureInfo^ culture
)
new :
actionContext:HttpActionContext *
culture:CultureInfo -> QueryStringValueProvider
public function QueryStringValueProvider(
actionContext : HttpActionContext,
culture : CultureInfo
)
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
An object that encapsulates information about the current HTTP request.
- culture
Type: System.Globalization.CultureInfo
An object that contains information about the target culture.