KeyValueModelValueProvider Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new instance of the KeyValueModelValueProvider class.
Namespace: System.Web.Http.ValueProviders.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
provider As IKeyValueModel, _
culture As CultureInfo _
)
public KeyValueModelValueProvider(
IKeyValueModel provider,
CultureInfo culture
)
public:
KeyValueModelValueProvider(
IKeyValueModel^ provider,
CultureInfo^ culture
)
new :
provider:IKeyValueModel *
culture:CultureInfo -> KeyValueModelValueProvider
public function KeyValueModelValueProvider(
provider : IKeyValueModel,
culture : CultureInfo
)
Parameters
- provider
Type: System.Net.Http.Formatting.IKeyValueModel
The inner IKeyValueModel to use. It may be null.
- culture
Type: System.Globalization.CultureInfo
The culture to use. It cannot be null.