Added constructor for CodeCommentElement
This commit is contained in:
parent
cc464304b1
commit
ac3ba46ff2
@ -7,6 +7,14 @@ 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; } }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user