API Reference
Class
MarkdownNativeSourceTriviaSnapshot
UI-safe snapshot of document-level source trivia.
Inheritance
- Object
- MarkdownNativeSourceTriviaSnapshot
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public MarkdownNativeSourceTriviaKind Kind { get; } #Trivia kind.
public String Text { get; } #Exact normalized line content represented by this trivia, excluding the line ending.
public MarkdownNativeSourceSpanSnapshot SourceSpan { get; } #Source span for the trivia content.
public String SourceText { get; } #Exact normalized source text represented by this trivia when it could be materialized.
public String OriginalSourceText { get; } #Exact original reader input represented by this trivia when trivia was preserved and mapping succeeded.
public Nullable<MarkdownOriginalSourceSliceFailureReason> OriginalSourceFailureReason { get; } #Reason original reader input could not be materialized for this trivia, when applicable.