**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Design / System.Windows.Forms.Design / AxParameterData.cs
blob9ea317b1bdbe42362b33df4742df22d7154cc835
1 //
2 // System.Windows.Forms.Design.AxParameterData.cs
3 //
4 // Author:
5 // Gert Driesen (drieseng@users.sourceforge.net)
6 //
7 // (C) 2004 Novell
8 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 //
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 //
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System.CodeDom;
32 using System.Reflection;
34 namespace System.Windows.Forms.Design
36 public class AxParameterData
38 [MonoTODO]
39 public AxParameterData (ParameterInfo info) : this (info, false)
43 [MonoTODO]
44 public AxParameterData (ParameterInfo info, bool ignoreByRefs)
46 throw new NotImplementedException ();
49 [MonoTODO]
50 public AxParameterData (string inname, string typeName)
52 throw new NotImplementedException ();
55 [MonoTODO]
56 public AxParameterData (string inname, Type type)
58 throw new NotImplementedException ();
61 [MonoTODO]
62 public static AxParameterData[] Convert (ParameterInfo[] infos)
64 throw new NotImplementedException ();
67 [MonoTODO]
68 public static AxParameterData[] Convert (ParameterInfo[] infos, bool ignoreByRefs)
70 throw new NotImplementedException ();
73 public FieldDirection Direction {
74 get {
75 if (this.IsOut)
76 return FieldDirection.Out;
78 if (this.IsByRef)
79 return FieldDirection.Ref;
81 return FieldDirection.In;
84 public bool IsByRef {
85 get {
86 return isByRef;
90 public bool IsIn {
91 get {
92 return isIn;
96 public bool IsOptional {
97 get {
98 return isOptional;
102 public bool IsOut {
103 get {
104 return isOut;
108 public string Name {
109 get {
110 return name;
112 [MonoTODO]
113 set {
114 throw new NotImplementedException ();
118 public Type ParameterType {
119 get {
120 return type;
124 [MonoTODO]
125 public string TypeName {
126 get {
127 throw new NotImplementedException ();
131 private bool isByRef;
132 private bool isIn;
133 private bool isOptional;
134 private bool isOut;
135 private string name;
136 private Type type;
137 private string typeName;