Show / Hide Table of Contents

Interface IAddsComment

An object which adds comments to the DOM, either before or after a specified node.

Namespace: ZptSharp.SourceAnnotation
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IAddsComment

Methods

| Improve this Doc View Source

AddCommentAfter(INode, String)

Adds a comment immediately after the end of a specified node.

Declaration
void AddCommentAfter(INode node, string commentText)
Parameters
Type Name Description
INode node

The node after-which the comment should be added.

System.String commentText

The text of the DOM comment.

| Improve this Doc View Source

AddCommentBefore(INode, String)

Adds a comment immediately before the beginning of a specified node.

Declaration
void AddCommentBefore(INode node, string commentText)
Parameters
Type Name Description
INode node

The node before-which the comment should be added.

System.String commentText

The text of the DOM comment.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX