| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- //
- // System.CodeDom CodeComment Class implementation
- //
- // Author:
- // Daniel Stodden ([email protected])
- //
- // (C) 2002 Ximian, Inc.
- //
- using System.Runtime.InteropServices;
- namespace System.CodeDom
- {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeComment
- : CodeObject
- {
- private bool docComment;
- private string text;
-
- //
- // Constructors
- //
- public CodeComment()
- {
- }
- public CodeComment( string text )
- {
- this.text = text;
- }
- public CodeComment( string text, bool docComment )
- {
- this.text = text;
- this.docComment = docComment;
- }
- //
- // Properties
- //
- public bool DocComment {
- get {
- return docComment;
- }
- set {
- docComment = value;
- }
- }
-
- public string Text {
- get {
- return text;
- }
- set {
- text = value;
- }
- }
- }
- }
|