Json.NET - Quick Starts & API Documentation
CreatePropertyFromConstructorParameter Method (matchingMemberProperty, parameterInfo)
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver ► CreatePropertyFromConstructorParameter(JsonProperty, ParameterInfo)
Creates a JsonProperty for the given ParameterInfo.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual JsonProperty CreatePropertyFromConstructorParameter( JsonProperty matchingMemberProperty, ParameterInfo parameterInfo )
Protected Overridable Function CreatePropertyFromConstructorParameter ( _ matchingMemberProperty As JsonProperty, _ parameterInfo As ParameterInfo _ ) As JsonProperty
protected: virtual JsonProperty^ CreatePropertyFromConstructorParameter( JsonProperty^ matchingMemberProperty, ParameterInfo^ parameterInfo )
Parameters
- matchingMemberProperty (JsonProperty)
- The matching member property.
- parameterInfo (ParameterInfo)
- The constructor parameter.
Return Value
A created JsonProperty for the given ParameterInfo.