diff options
Diffstat (limited to 'Common/XmlRpcCS/XmlRpcXmlTokens.cs')
-rw-r--r-- | Common/XmlRpcCS/XmlRpcXmlTokens.cs | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Common/XmlRpcCS/XmlRpcXmlTokens.cs b/Common/XmlRpcCS/XmlRpcXmlTokens.cs new file mode 100644 index 0000000..50788bd --- /dev/null +++ b/Common/XmlRpcCS/XmlRpcXmlTokens.cs | |||
@@ -0,0 +1,76 @@ | |||
1 | namespace Nwc.XmlRpc | ||
2 | { | ||
3 | using System; | ||
4 | |||
5 | /// <summary>Class collecting <c>String</c> tokens that are part of XML-RPC files.</summary> | ||
6 | public class XmlRpcXmlTokens | ||
7 | { | ||
8 | /// <summary>C# formatting string to describe an ISO 8601 date.</summary> | ||
9 | public const String ISO_DATETIME = "yyyyMMdd\\THH\\:mm\\:ss"; | ||
10 | /// <summary>Base64 field indicator.</summary> | ||
11 | /// <remarks>Corresponds to the <base64> tag.</remarks> | ||
12 | public const String BASE64 = "base64"; | ||
13 | /// <summary>String field indicator.</summary> | ||
14 | /// <remarks>Corresponds to the <string> tag.</remarks> | ||
15 | public const String STRING = "string"; | ||
16 | /// <summary>Integer field integer.</summary> | ||
17 | /// <remarks>Corresponds to the <i4> tag.</remarks> | ||
18 | public const String INT = "i4"; | ||
19 | /// <summary>Alternate integer field indicator.</summary> | ||
20 | /// <remarks>Corresponds to the <int> tag.</remarks> | ||
21 | public const String ALT_INT = "int"; | ||
22 | /// <summary>Date field indicator.</summary> | ||
23 | /// <remarks>Corresponds to the <dateTime.iso8601> tag.</remarks> | ||
24 | public const String DATETIME = "dateTime.iso8601"; | ||
25 | /// <summary>Boolean field indicator.</summary> | ||
26 | /// <remarks>Corresponds to the <boolean> tag.</remarks> | ||
27 | public const String BOOLEAN = "boolean"; | ||
28 | /// <summary>Value token.</summary> | ||
29 | /// <remarks>Corresponds to the <value> tag.</remarks> | ||
30 | public const String VALUE = "value"; | ||
31 | /// <summary>Name token.</summary> | ||
32 | /// <remarks>Corresponds to the <name> tag.</remarks> | ||
33 | public const String NAME = "name"; | ||
34 | /// <summary>Array field indicator..</summary> | ||
35 | /// <remarks>Corresponds to the <array> tag.</remarks> | ||
36 | public const String ARRAY = "array"; | ||
37 | /// <summary>Data token.</summary> | ||
38 | /// <remarks>Corresponds to the <data> tag.</remarks> | ||
39 | public const String DATA = "data"; | ||
40 | /// <summary>Member token.</summary> | ||
41 | /// <remarks>Corresponds to the <member> tag.</remarks> | ||
42 | public const String MEMBER = "member"; | ||
43 | /// <summary>Stuct field indicator.</summary> | ||
44 | /// <remarks>Corresponds to the <struct> tag.</remarks> | ||
45 | public const String STRUCT = "struct"; | ||
46 | /// <summary>Double field indicator.</summary> | ||
47 | /// <remarks>Corresponds to the <double> tag.</remarks> | ||
48 | public const String DOUBLE = "double"; | ||
49 | /// <summary>Param token.</summary> | ||
50 | /// <remarks>Corresponds to the <param> tag.</remarks> | ||
51 | public const String PARAM = "param"; | ||
52 | /// <summary>Params token.</summary> | ||
53 | /// <remarks>Corresponds to the <params> tag.</remarks> | ||
54 | public const String PARAMS = "params"; | ||
55 | /// <summary>MethodCall token.</summary> | ||
56 | /// <remarks>Corresponds to the <methodCall> tag.</remarks> | ||
57 | public const String METHOD_CALL = "methodCall"; | ||
58 | /// <summary>MethodName token.</summary> | ||
59 | /// <remarks>Corresponds to the <methodName> tag.</remarks> | ||
60 | public const String METHOD_NAME = "methodName"; | ||
61 | /// <summary>MethodResponse token</summary> | ||
62 | /// <remarks>Corresponds to the <methodResponse> tag.</remarks> | ||
63 | public const String METHOD_RESPONSE = "methodResponse"; | ||
64 | /// <summary>Fault response token.</summary> | ||
65 | /// <remarks>Corresponds to the <fault> tag.</remarks> | ||
66 | public const String FAULT = "fault"; | ||
67 | /// <summary>FaultCode token.</summary> | ||
68 | /// <remarks>Corresponds to the <faultCode> tag.</remarks> | ||
69 | public const String FAULT_CODE = "faultCode"; | ||
70 | /// <summary>FaultString token.</summary> | ||
71 | /// <remarks>Corresponds to the <faultString> tag.</remarks> | ||
72 | public const String FAULT_STRING = "faultString"; | ||
73 | } | ||
74 | } | ||
75 | |||
76 | |||