Class NcComment
Represents a comment in NC code.
public class NcComment
- Inheritance
-
NcComment
- Inherited Members
- Extension Methods
Constructors
NcComment(string, CommentMarkEnum)
Initializes a new instance of the NcComment class.
public NcComment(string content, CommentMarkEnum commentSignEnum)
Parameters
content
stringThe content of the comment without comment marks.
commentSignEnum
CommentMarkEnumThe type of comment mark to use.
Properties
CommentMarkEnum
Gets or sets the type of comment mark used.
public CommentMarkEnum CommentMarkEnum { get; set; }
Property Value
Content
Comment Without Comment Mark.
public string Content { get; set; }
Property Value
FullText
Comment With Comment Mark.
public string FullText { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.