-Code reformat

This commit is contained in:
James Newton-King
2013-10-20 15:08:39 +13:00
parent d03963016e
commit bcd6982419
466 changed files with 71645 additions and 71598 deletions
@@ -29,31 +29,34 @@ using System.Text;
namespace Newtonsoft.Json
{
/// <summary>
/// Specifies reference handling options for the <see cref="JsonSerializer"/>.
/// Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
/// </summary>
/// <example>
/// <code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="PreservingObjectReferencesOn" title="Preserve Object References" />
/// </example>
[Flags]
public enum PreserveReferencesHandling
{
/// <summary>
/// Do not preserve references when serializing types.
/// Specifies reference handling options for the <see cref="JsonSerializer"/>.
/// Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
/// </summary>
None = 0,
/// <summary>
/// Preserve references when serializing into a JSON object structure.
/// </summary>
Objects = 1,
/// <summary>
/// Preserve references when serializing into a JSON array structure.
/// </summary>
Arrays = 2,
/// <summary>
/// Preserve references when serializing.
/// </summary>
All = Objects | Arrays
}
}
/// <example>
/// <code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="PreservingObjectReferencesOn" title="Preserve Object References" />
/// </example>
[Flags]
public enum PreserveReferencesHandling
{
/// <summary>
/// Do not preserve references when serializing types.
/// </summary>
None = 0,
/// <summary>
/// Preserve references when serializing into a JSON object structure.
/// </summary>
Objects = 1,
/// <summary>
/// Preserve references when serializing into a JSON array structure.
/// </summary>
Arrays = 2,
/// <summary>
/// Preserve references when serializing.
/// </summary>
All = Objects | Arrays
}
}