diff options
Diffstat (limited to 'src/ProtocolBuffers.Serialization/XmlReaderOptions.cs')
-rw-r--r-- | src/ProtocolBuffers.Serialization/XmlReaderOptions.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ProtocolBuffers.Serialization/XmlReaderOptions.cs b/src/ProtocolBuffers.Serialization/XmlReaderOptions.cs new file mode 100644 index 00000000..f7eca1d7 --- /dev/null +++ b/src/ProtocolBuffers.Serialization/XmlReaderOptions.cs @@ -0,0 +1,17 @@ +using System;
+
+namespace Google.ProtocolBuffers.Serialization
+{
+ /// <summary>
+ /// Options available for the xml reader output
+ /// </summary>
+ [Flags]
+ public enum XmlReaderOptions
+ {
+ /// <summary> Simple xml formatting with no attributes </summary>
+ None,
+
+ /// <summary> Requires that arrays items are nested in an <item> element </summary>
+ ReadNestedArrays = 1,
+ }
+}
\ No newline at end of file |