Walter.BOM
CreatePropertyFromConstructorParameter Method
Walter.BOM Assembly > Walter.BOM Namespace > ShouldSerializeContractResolver Class : CreatePropertyFromConstructorParameter Method
The matching member property.
The constructor parameter.
Creates a Newtonsoft.Json.Serialization.JsonProperty for the given System.Reflection.ParameterInfo.
Syntax
protected virtual Newtonsoft.Json.Serialization.JsonProperty CreatePropertyFromConstructorParameter( 
   Newtonsoft.Json.Serialization.JsonProperty? matchingMemberProperty,
   ParameterInfo parameterInfo
)

Parameters

matchingMemberProperty
The matching member property.
parameterInfo
The constructor parameter.

Return Value

A created Newtonsoft.Json.Serialization.JsonProperty for the given System.Reflection.ParameterInfo.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ShouldSerializeContractResolver Class
ShouldSerializeContractResolver Members