Class SourceRangeReference
A source reference that includes both start and end coordinates.
public sealed class SourceRangeReference : SourceReference
- Inheritance
-
SourceRangeReference
- Inherited Members
Constructors
SourceRangeReference(SourceSpan)
Creates a source range reference.
public SourceRangeReference(SourceSpan range)
Parameters
rangeSourceSpanThe referenced source span.
Methods
Render(string, LineAndColumnPosition, LineAndColumnPosition)
Renders a source range reference from resolved source coordinates.
protected override Inline Render(string identifier, LineAndColumnPosition start, LineAndColumnPosition end)
Parameters
identifierstringThe source identifier.
startLineAndColumnPositionThe start position.
endLineAndColumnPositionThe end position.
Returns
- Inline
The rendered inline markup.