Click or drag to resize
Json.NET

DefaultContractResolverCreateConstructorParameters Method

 
Creates the constructor parameters.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
protected virtual IList<JsonProperty> CreateConstructorParameters(
	ConstructorInfo constructor,
	JsonPropertyCollection memberProperties
)

Parameters

constructor
Type: System.ReflectionConstructorInfo
The constructor to create properties for.
memberProperties
Type: Newtonsoft.Json.SerializationJsonPropertyCollection
The type's member properties.

Return Value

Type: IListJsonProperty
Properties for the given ConstructorInfo.
See Also