Json.NET - Quick Starts & API Documentation
CreateConstructorParameters Method (constructor, memberProperties)
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver ► CreateConstructorParameters(ConstructorInfo, JsonPropertyCollection)
Creates the constructor parameters.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual IList<JsonProperty> CreateConstructorParameters( ConstructorInfo constructor, JsonPropertyCollection memberProperties )
Protected Overridable Function CreateConstructorParameters ( _ constructor As ConstructorInfo, _ memberProperties As JsonPropertyCollection _ ) As IList(Of JsonProperty)
protected: virtual IList<JsonProperty^>^ CreateConstructorParameters( ConstructorInfo^ constructor, JsonPropertyCollection^ memberProperties )
Parameters
- constructor (ConstructorInfo)
- The constructor to create properties for.
- memberProperties (JsonPropertyCollection)
- The type's member properties.
Return Value
Properties for the given ConstructorInfo.