1 | /* |
---|
2 | XML-RPC.NET library |
---|
3 | Copyright (c) 2001-2006, Charles Cook <charlescook@cookcomputing.com> |
---|
4 | |
---|
5 | Permission is hereby granted, free of charge, to any person |
---|
6 | obtaining a copy of this software and associated documentation |
---|
7 | files (the "Software"), to deal in the Software without restriction, |
---|
8 | including without limitation the rights to use, copy, modify, merge, |
---|
9 | publish, distribute, sublicense, and/or sell copies of the Software, |
---|
10 | and to permit persons to whom the Software is furnished to do so, |
---|
11 | subject to the following conditions: |
---|
12 | |
---|
13 | The above copyright notice and this permission notice shall be |
---|
14 | included in all copies or substantial portions of the Software. |
---|
15 | |
---|
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
---|
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
---|
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
---|
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
---|
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
---|
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
---|
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
---|
23 | DEALINGS IN THE SOFTWARE. |
---|
24 | */ |
---|
25 | |
---|
26 | namespace CookComputing.XmlRpc |
---|
27 | { |
---|
28 | using System; |
---|
29 | |
---|
30 | public class XmlRpcParameterInfo |
---|
31 | { |
---|
32 | public XmlRpcParameterInfo() |
---|
33 | { |
---|
34 | } |
---|
35 | |
---|
36 | public String Doc |
---|
37 | { |
---|
38 | get { return doc; } |
---|
39 | set { doc = value; } |
---|
40 | } |
---|
41 | |
---|
42 | public bool IsParams |
---|
43 | { |
---|
44 | get { return isparams; } |
---|
45 | set { isparams = value; } |
---|
46 | } |
---|
47 | |
---|
48 | public String Name |
---|
49 | { |
---|
50 | get { return name; } |
---|
51 | set |
---|
52 | { |
---|
53 | name = value; |
---|
54 | if (xmlRpcName == "") |
---|
55 | xmlRpcName = name; |
---|
56 | } |
---|
57 | } |
---|
58 | |
---|
59 | public String XmlRpcName |
---|
60 | { |
---|
61 | get { return xmlRpcName; } |
---|
62 | set { xmlRpcName = value; } |
---|
63 | } |
---|
64 | |
---|
65 | public Type Type |
---|
66 | { |
---|
67 | get { return type; } |
---|
68 | set { type = value; } |
---|
69 | } |
---|
70 | |
---|
71 | public string XmlRpcType |
---|
72 | { |
---|
73 | get { return xmlRpcType; } |
---|
74 | set { xmlRpcType = value; } |
---|
75 | } |
---|
76 | |
---|
77 | string doc; |
---|
78 | string name; |
---|
79 | Type type; |
---|
80 | string xmlRpcName; |
---|
81 | string xmlRpcType; |
---|
82 | bool isparams; |
---|
83 | } |
---|
84 | } |
---|