mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
63 lines
862 B
C#
63 lines
862 B
C#
//
|
|
// 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;
|
|
}
|
|
}
|
|
}
|
|
}
|