| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- //
- // System.CodeDom CodeCommentStatement Class implementation
- //
- // Author:
- // Miguel de Icaza ([email protected])
- // Daniel Stodden ([email protected])
- //
- // (C) 2001, 2002 Ximian, Inc.
- //
- using System.Runtime.InteropServices;
- namespace System.CodeDom
- {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeCommentStatement
- : CodeStatement
- {
- private CodeComment comment;
-
- //
- // Constructors
- //
- public CodeCommentStatement ()
- {
- }
- public CodeCommentStatement (CodeComment comment)
- {
- this.comment = comment;
- }
- public CodeCommentStatement (string text)
- {
- this.comment = new CodeComment( text );
- }
-
- public CodeCommentStatement (string text, bool docComment)
- {
- this.comment = new CodeComment( text, docComment );
- }
- //
- // Properties
- //
- public CodeComment Comment {
- get {
- return comment;
- }
- set {
- comment = value;
- }
- }
- }
- }
|