-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSerializationFormat.cs
More file actions
52 lines (45 loc) · 1.56 KB
/
SerializationFormat.cs
File metadata and controls
52 lines (45 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
using System.Runtime.Serialization;
namespace RapidField.SolidInstruments.Serialization
{
/// <summary>
/// Specifies a format to use for serialization and deserialization.
/// </summary>
[DataContract]
public enum SerializationFormat : Int32
{
/// <summary>
/// The serialization format is not specified.
/// </summary>
[EnumMember]
Unspecified = 0,
/// <summary>
/// Specifies no serialization format or, in some contexts, the default format.
/// </summary>
[EnumMember]
Binary = 1,
/// <summary>
/// Specifies the compressed JSON serialization format.
/// </summary>
[EnumMember]
CompressedJson = 2,
/// <summary>
/// Specifies the compressed XML serialization format.
/// </summary>
[EnumMember]
CompressedXml = 3,
/// <summary>
/// Specifies the JSON serialization format.
/// </summary>
[EnumMember]
Json = 4,
/// <summary>
/// Specifies the XML serialization format.
/// </summary>
[EnumMember]
Xml = 5
}
}