C# Class Newtonsoft.Json.JsonPropertyAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Public Methods

Method Description
JsonPropertyAttribute ( ) : System

Initializes a new instance of the JsonPropertyAttribute class.

JsonPropertyAttribute ( string propertyName ) : System

Initializes a new instance of the JsonPropertyAttribute class with the specified name.

Method Details

JsonPropertyAttribute() public method

Initializes a new instance of the JsonPropertyAttribute class.
public JsonPropertyAttribute ( ) : System
return System

JsonPropertyAttribute() public method

Initializes a new instance of the JsonPropertyAttribute class with the specified name.
public JsonPropertyAttribute ( string propertyName ) : System
propertyName string Name of the property.
return System