-Code reformat
This commit is contained in:
@@ -27,19 +27,19 @@ using System;
|
||||
|
||||
namespace Newtonsoft.Json.Serialization
|
||||
{
|
||||
/// <summary>
|
||||
/// Contract details for a <see cref="Type"/> used by the <see cref="JsonSerializer"/>.
|
||||
/// </summary>
|
||||
public class JsonStringContract : JsonPrimitiveContract
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="JsonStringContract"/> class.
|
||||
/// Contract details for a <see cref="Type"/> used by the <see cref="JsonSerializer"/>.
|
||||
/// </summary>
|
||||
/// <param name="underlyingType">The underlying type for the contract.</param>
|
||||
public JsonStringContract(Type underlyingType)
|
||||
: base(underlyingType)
|
||||
public class JsonStringContract : JsonPrimitiveContract
|
||||
{
|
||||
ContractType = JsonContractType.String;
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="JsonStringContract"/> class.
|
||||
/// </summary>
|
||||
/// <param name="underlyingType">The underlying type for the contract.</param>
|
||||
public JsonStringContract(Type underlyingType)
|
||||
: base(underlyingType)
|
||||
{
|
||||
ContractType = JsonContractType.String;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user