ValueProviderFactory.GetValueProvider Method
Returns a value-provider object for the specified controller context.
Namespace: System.Web.Http.ValueProviders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public MustOverride Function GetValueProvider ( _
actionContext As HttpActionContext _
) As IValueProvider
'Usage
Dim instance As ValueProviderFactory
Dim actionContext As HttpActionContext
Dim returnValue As IValueProvider
returnValue = instance.GetValueProvider(actionContext)
public abstract IValueProvider GetValueProvider(
HttpActionContext actionContext
)
public:
virtual IValueProvider^ GetValueProvider(
HttpActionContext^ actionContext
) abstract
abstract GetValueProvider :
actionContext:HttpActionContext -> IValueProvider
public abstract function GetValueProvider(
actionContext : HttpActionContext
) : IValueProvider
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
An object that encapsulates information about the current HTTP request.
Return Value
Type: System.Web.Http.ValueProviders.IValueProvider
A value-provider object.