Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownDocumentTransformDiagnostic

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Lightweight diagnostic emitted for each document transform application.

Inheritance

  • object
  • MarkdownDocumentTransformDiagnostic

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public MarkdownDocumentTransformDiagnostic() #

Properties

public MarkdownDocumentTransformSource Source { get; set; } #

Known source stage that invoked the transform pipeline.

public string TransformName { get; set; } #

Transform type name.

public int BlockCountBefore { get; set; } #

Number of top-level blocks before the transform ran.

public int BlockCountAfter { get; set; } #

Number of top-level blocks after the transform ran.

public bool ReplacedDocument { get; set; } #

Whether the transform returned a different document instance.

public int ChangedBlockStartBefore { get; set; } #

First top-level block index affected before the transform ran.

public int ChangedBlockCountBefore { get; set; } #

Number of contiguous top-level blocks affected before the transform ran.

public int ChangedBlockStartAfter { get; set; } #

First top-level block index affected after the transform ran.

public int ChangedBlockCountAfter { get; set; } #

Number of contiguous top-level blocks affected after the transform ran.

public bool HasChangedBlocks { get; } #

Indicates whether the transform changed any top-level block fingerprints.

public MarkdownSourceSpan? AffectedSourceSpan { get; set; } #

Aggregate source span of the affected input blocks when original syntax spans are available.

public IReadOnlyList<MarkdownSourceSpan> AffectedSourceSpans { get; set; } #

Source spans of individual top-level input blocks affected by the transform, when available.

public string? AffectedOriginalBlockPath { get; set; } #

Deepest original block-like syntax path overlapping the affected source span when available.

public string? AffectedOriginalNodePath { get; set; } #

Deepest original syntax path overlapping the affected source span when available.

public MarkdownSourceSpan? AffectedOriginalBlockSpan { get; set; } #

Source span of the original block-like syntax node identified by MarkdownDocumentTransformDiagnostic.AffectedOriginalBlockPath.

public MarkdownSourceSpan? AffectedOriginalNodeSpan { get; set; } #

Source span of the original syntax node identified by MarkdownDocumentTransformDiagnostic.AffectedOriginalNodePath.

public string? AffectedFinalBlockPath { get; set; } #

Deepest final block-like syntax path overlapping the affected source span when available.

public string? AffectedFinalNodePath { get; set; } #

Deepest final syntax path overlapping the affected source span when available.

public MarkdownSourceSpan? AffectedFinalBlockSpan { get; set; } #

Source span of the final block-like syntax node identified by MarkdownDocumentTransformDiagnostic.AffectedFinalBlockPath.

public MarkdownSourceSpan? AffectedFinalNodeSpan { get; set; } #

Source span of the final syntax node identified by MarkdownDocumentTransformDiagnostic.AffectedFinalNodePath.