Files
mono/mcs/class/System/System.CodeDom/CodeCommentStatement.cs
T
2002-05-11 15:44:41 +00:00

58 lines
955 B
C#
Executable File

//
// 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;
}
}
}
}