C-DEngine 5.105

JsonPropertyAttribute..::..NamingStrategyParameters Property

The parameter list to use when constructing the NamingStrategy described by NamingStrategyType. If null, the default constructor is used. When non-null, there must be a constructor defined in the NamingStrategy that exactly matches the number, order, and type of these parameters.

Namespace:  cdeNewtonsoft.Json
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public Object[] NamingStrategyParameters { get; set; }
Public Property NamingStrategyParameters As Object()
	Get
	Set
public:
property array<Object^>^ NamingStrategyParameters {
	array<Object^>^ get ();
	void set (array<Object^>^ value);
}

Examples


C#
[JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]