- System.CodeDom review, ns more or less complete now
[mono.git] / mcs / class / System / System.CodeDom / CodeSnippetCompileUnit.cs
1 //
2 // System.CodeDom CodeSnippetCompileUnit Class implementation
3 //
4 // Author:
5 //   Daniel Stodden (stodden@in.tum.de)
6 //
7 // (C) 2002 Ximian, Inc.
8 //
9
10 using System.Runtime.InteropServices;
11
12 namespace System.CodeDom
13 {
14         [Serializable]
15         [ClassInterface(ClassInterfaceType.AutoDispatch)]
16         [ComVisible(true)]
17         public class CodeSnippetCompileUnit
18                 : CodeCompileUnit
19         {
20                 private CodeLinePragma linePragma;
21                 private string value;
22
23                 //
24                 // Constructors
25                 //
26                 public CodeSnippetCompileUnit( string value )
27                 {
28                         this.value = value;
29                 }
30
31                 //
32                 // Properties
33                 //
34                 public CodeLinePragma LinePragma {
35                         get {
36                                 return linePragma;
37                         }
38                         set {
39                                 linePragma = value;
40                         }
41                 }
42
43                 public string Value {
44                         get {
45                                 return this.value;
46                         }
47                         set {
48                                 this.value = value;
49                         }
50                 }
51         }
52 }