JsonPropertyDefaultAttribute.

JsonPropertyDefaultAttribute(AssemblyVersioningScheme) Constructor

Summary

Initializes a new instance of JsonPropertyDefaultAttribute with the specified default property value.

Syntax

public JsonPropertyDefaultAttribute(AssemblyVersioningScheme value)

Remarks

The Enum value is converted to string, preferring the symbol name over the numeral if possible.

Parameters

Name Type Description
value AssemblyVersioningScheme The default value of the property.

Return Value

Type Description
void
GitHub