CodeVariableReferenceExpression.cs 750 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // System.CodeDom CodeVariableReferenceExpression Class implementation
  3. //
  4. // Author:
  5. // Daniel Stodden ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc.
  8. //
  9. using System.Runtime.InteropServices;
  10. namespace System.CodeDom
  11. {
  12. [Serializable]
  13. [ClassInterface(ClassInterfaceType.AutoDispatch)]
  14. [ComVisible(true)]
  15. public class CodeVariableReferenceExpression
  16. : CodeExpression
  17. {
  18. private string variableName;
  19. //
  20. // Constructors
  21. //
  22. public CodeVariableReferenceExpression()
  23. {
  24. }
  25. public CodeVariableReferenceExpression( string variableName )
  26. {
  27. this.variableName = variableName;
  28. }
  29. //
  30. // Properties
  31. //
  32. public string VariableName {
  33. get {
  34. return variableName;
  35. }
  36. set {
  37. variableName = value;
  38. }
  39. }
  40. }
  41. }