CodeSnippetCompileUnit.cs 785 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // System.CodeDom CodeSnippetCompileUnit Class implementation
  3. //
  4. // Author:
  5. // Daniel Stodden ([email protected])
  6. //
  7. // (C) 2002 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 CodeSnippetCompileUnit
  16. : CodeCompileUnit
  17. {
  18. private CodeLinePragma linePragma;
  19. private string value;
  20. //
  21. // Constructors
  22. //
  23. public CodeSnippetCompileUnit( string value )
  24. {
  25. this.value = value;
  26. }
  27. //
  28. // Properties
  29. //
  30. public CodeLinePragma LinePragma {
  31. get {
  32. return linePragma;
  33. }
  34. set {
  35. linePragma = value;
  36. }
  37. }
  38. public string Value {
  39. get {
  40. return this.value;
  41. }
  42. set {
  43. this.value = value;
  44. }
  45. }
  46. }
  47. }