So, I'm aware of the concept of Named Parameters and Optional Parameters within C#. This is the same idea, but it uses different syntax.
When passing, from the Newtonsoft.Json library, arguments to the JsonObject attribute, you're presented with a massive list of optional named parameters. These named parameters have no order, and so must be called using that same pattern as proper named parameters, however, normal C# named parameters syntax is, varName: varValue
and this syntax follows the more expected varName = varValue
[JsonObject(
ItemNullValueHandling = NullValueHandling.Ignore
, ItemRequired = Required.AllowNull
, Title = "Tester" )]
public class Jsonifier {
public String Name {get;set;}
public String Value {get;set;}
}
What is going on here that is different from the Named Parameters syntax and how do I replicate this behavior ?