C-DEngine 5.105

JsonPropertyAttribute..::..ItemConverterParameters Property

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

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

Syntax


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

Examples


C#
[JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]