csharptest | 2b86884 | 2011-06-10 14:41:47 -0500 | [diff] [blame^] | 1 | using System;
|
| 2 |
|
| 3 | namespace Google.ProtocolBuffers.Serialization
|
| 4 | {
|
| 5 | /// <summary>
|
| 6 | /// Options available for the xml writer output
|
| 7 | /// </summary>
|
| 8 | [Flags]
|
| 9 | public enum XmlWriterOptions
|
| 10 | {
|
| 11 | /// <summary> Simple xml formatting with no attributes </summary>
|
| 12 | None,
|
| 13 | /// <summary> Writes the 'value' attribute on all enumerations with the numeric identifier </summary>
|
| 14 | OutputEnumValues = 0x1,
|
| 15 | /// <summary> Embeds array items into child <item> elements </summary>
|
| 16 | OutputNestedArrays = 0x4,
|
| 17 | /// <summary> Outputs the 'type' attribute for compatibility with the <see cref="System.Runtime.Serialization.Json.JsonReaderWriterFactory">JsonReaderWriterFactory</see> </summary>
|
| 18 | /// <remarks> This option must, by nessessity, also enable NestedArrayItems </remarks>
|
| 19 | OutputJsonTypes = 0x8,
|
| 20 | }
|
| 21 | } |