CodeParameterDeclarationExpression.cs 989 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // System.CodeDom CodeParameterDeclarationExpression Class implementation
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc.
  8. //
  9. namespace System.CodeDom {
  10. [Serializable]
  11. public class CodeParameterDeclarationExpression : CodeExpression {
  12. FieldDirection direction;
  13. CodeAttributeBlock customAttributes;
  14. string type, name;
  15. public CodeParameterDeclarationExpression ()
  16. {
  17. }
  18. public CodeParameterDeclarationExpression (string type, string name)
  19. {
  20. this.type = type;
  21. this.name = name;
  22. }
  23. public string Type {
  24. get {
  25. return type;
  26. }
  27. set {
  28. type = value;
  29. }
  30. }
  31. public string Name {
  32. get {
  33. return name;
  34. }
  35. set {
  36. name = value;
  37. }
  38. }
  39. public CodeAttributeBlock CustomAttributes {
  40. get {
  41. return customAttributes;
  42. }
  43. set {
  44. customAttributes = value;
  45. }
  46. }
  47. public FieldDirection Direction {
  48. get {
  49. return direction;
  50. }
  51. set {
  52. direction = value;
  53. }
  54. }
  55. }
  56. }