CodeAttributeArgument.cs 732 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //
  2. // System.CodeDom CodeAttributeArgument 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 CodeAttributeArgument {
  11. string name;
  12. CodeExpression val;
  13. //
  14. // Constructors
  15. //
  16. public CodeAttributeArgument ()
  17. {
  18. }
  19. public CodeAttributeArgument (CodeExpression value)
  20. {
  21. }
  22. public CodeAttributeArgument (string name, CodeExpression val)
  23. {
  24. this.name = name;
  25. this.val = val;
  26. }
  27. //
  28. // Properties
  29. //
  30. public string Name {
  31. get {
  32. return name;
  33. }
  34. set {
  35. name = value;
  36. }
  37. }
  38. public CodeExpression Value {
  39. get {
  40. return val;
  41. }
  42. set {
  43. val = value;
  44. }
  45. }
  46. }
  47. }