CodeParameterDeclarationExpression.cs 973 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. public class CodeParameterDeclarationExpression : CodeExpression {
  11. FieldDirection direction;
  12. CodeAttributeBlock customAttributes;
  13. string type, name;
  14. public CodeParameterDeclarationExpression ()
  15. {
  16. }
  17. public CodeParameterDeclarationExpression (string type, string name)
  18. {
  19. this.type = type;
  20. this.name = name;
  21. }
  22. public string Type {
  23. get {
  24. return type;
  25. }
  26. set {
  27. type = value;
  28. }
  29. }
  30. public string Name {
  31. get {
  32. return name;
  33. }
  34. set {
  35. name = value;
  36. }
  37. }
  38. public CodeAttributeBlock CustomAttributes {
  39. get {
  40. return customAttributes;
  41. }
  42. set {
  43. customAttributes = value;
  44. }
  45. }
  46. public FieldDirection Direction {
  47. get {
  48. return direction;
  49. }
  50. set {
  51. direction = value;
  52. }
  53. }
  54. }
  55. }