CodeAttributeArgument.cs 748 B

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