Show / Hide Table of Contents

Interface IGetsAnnotationForNode

An object which gets the annotation text for a specified node.

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

Methods

| Improve this Doc View Source

GetAnnotation(INode, TagType)

Gets the annotation text for the node.

Declaration
string GetAnnotation(INode node, TagType tagType = TagType.Start)
Parameters
Type Name Description
INode node

Node.

TagType tagType

The tag type to use for the annotation.

Returns
Type Description
System.String

The annotation text.

| Improve this Doc View Source

GetPreReplacementAnnotation(INode, TagType)

Gets the annotation text for the node, using the pre-replacement source annotation for the node.

Declaration
string GetPreReplacementAnnotation(INode node, TagType tagType = TagType.Start)
Parameters
Type Name Description
INode node

Node.

TagType tagType

The tag type to use for the annotation.

Returns
Type Description
System.String

The annotation text.

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