AxParameterData.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. //
  2. // System.Windows.Forms.Design.AxParameterData.cs
  3. //
  4. // Author:
  5. // Gert Driesen ([email protected])
  6. //
  7. // (C) 2004 Novell
  8. //
  9. using System.CodeDom;
  10. using System.Reflection;
  11. namespace System.Windows.Forms.Design
  12. {
  13. public class AxParameterData
  14. {
  15. [MonoTODO]
  16. public AxParameterData (ParameterInfo info) : this (info, false)
  17. {
  18. }
  19. [MonoTODO]
  20. public AxParameterData (ParameterInfo info, bool ignoreByRefs)
  21. {
  22. throw new NotImplementedException ();
  23. }
  24. [MonoTODO]
  25. public AxParameterData (string inname, string typeName)
  26. {
  27. throw new NotImplementedException ();
  28. }
  29. [MonoTODO]
  30. public AxParameterData (string inname, Type type)
  31. {
  32. throw new NotImplementedException ();
  33. }
  34. [MonoTODO]
  35. public static AxParameterData[] Convert (ParameterInfo[] infos)
  36. {
  37. throw new NotImplementedException ();
  38. }
  39. [MonoTODO]
  40. public static AxParameterData[] Convert (ParameterInfo[] infos, bool ignoreByRefs)
  41. {
  42. throw new NotImplementedException ();
  43. }
  44. public FieldDirection Direction {
  45. get {
  46. if (this.IsOut)
  47. return FieldDirection.Out;
  48. if (this.IsByRef)
  49. return FieldDirection.Ref;
  50. return FieldDirection.In;
  51. }
  52. }
  53. public bool IsByRef {
  54. get {
  55. return isByRef;
  56. }
  57. }
  58. public bool IsIn {
  59. get {
  60. return isIn;
  61. }
  62. }
  63. public bool IsOptional {
  64. get {
  65. return isOptional;
  66. }
  67. }
  68. public bool IsOut {
  69. get {
  70. return isOut;
  71. }
  72. }
  73. public string Name {
  74. get {
  75. return name;
  76. }
  77. [MonoTODO]
  78. set {
  79. throw new NotImplementedException ();
  80. }
  81. }
  82. public Type ParameterType {
  83. get {
  84. return type;
  85. }
  86. }
  87. [MonoTODO]
  88. public string TypeName {
  89. get {
  90. throw new NotImplementedException ();
  91. }
  92. }
  93. private bool isByRef;
  94. private bool isIn;
  95. private bool isOptional;
  96. private bool isOut;
  97. private string name;
  98. private Type type;
  99. private string typeName;
  100. }
  101. }