28 lines
974 B
C#
28 lines
974 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace UniversalEditor.ObjectModels.SourceCode.CodeElements
|
|
{
|
|
public class CodeCommentElement : CodeElement
|
|
{
|
|
public CodeCommentElement(string content = null, bool multiline = false, bool isDocumentationComment = false)
|
|
{
|
|
if (content == null) content = String.Empty;
|
|
mvarContent = content;
|
|
mvarMultiline = multiline;
|
|
mvarIsDocumentationComment = isDocumentationComment;
|
|
}
|
|
|
|
private string mvarContent = String.Empty;
|
|
public string Content { get { return mvarContent; } set { mvarContent = value; } }
|
|
|
|
private bool mvarMultiline = false;
|
|
public bool Multiline { get { return mvarMultiline; } set { mvarMultiline = value; } }
|
|
|
|
private bool mvarIsDocumentationComment = false;
|
|
public bool IsDocumentationComment { get { return mvarIsDocumentationComment; } set { mvarIsDocumentationComment = value; } }
|
|
}
|
|
}
|