API Reference

Class

VisioShowcaseSummary

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Machine-readable and Markdown summary of generated Visio showcase packages and preview artifacts.

Inheritance

  • Object
  • VisioShowcaseSummary

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

Methods

public static VisioShowcaseSummary Create(String showcasePath, IEnumerable<String> packageFiles, IEnumerable<String> previewFiles = null, Nullable<DateTimeOffset> generatedAt = null, IEnumerable<String> proofFiles = null) #
Returns: VisioShowcaseSummary

Creates a summary from generated package and preview paths.

Parameters

showcasePath System.String requiredposition: 0
Showcase root folder.
packageFiles System.Collections.Generic.IEnumerable{System.String} requiredposition: 1
Generated VSDX package paths.
previewFiles System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 2
Generated preview paths.
generatedAt System.Nullable{System.DateTimeOffset} = null optionalposition: 3
Optional timestamp, primarily for deterministic tests.
proofFiles System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 4
Generated structural proof paths, such as inspection and stencil-profile text artifacts.
public Void EnsureArtifactsValid(Boolean requirePreviewsPerDiagram = false, Boolean requireProofsPerDiagram = false) #
Returns: Void

Throws when generated package or preview artifacts no longer match the summary metadata.

Parameters

requirePreviewsPerDiagram System.Boolean = false optionalposition: 0
Whether every generated package must have at least one matching preview artifact.
requireProofsPerDiagram System.Boolean = false optionalposition: 1
Whether every generated package must have at least one matching structural proof artifact.
public Void SaveArtifacts() #
Returns: Void

Writes the default Markdown and JSON summary files into the showcase root.

public Void SaveHtml(String path) #
Returns: Void

Writes a browsable HTML gallery to the specified path.

Parameters

path System.String requiredposition: 0
Target HTML file path.
public Void SaveJson(String path) #
Returns: Void

Writes a machine-readable JSON summary to the specified path.

Parameters

path System.String requiredposition: 0
Target JSON file path.
public Void SaveMarkdown(String path) #
Returns: Void

Writes a Markdown summary to the specified path.

Parameters

path System.String requiredposition: 0
Target Markdown file path.
public String ToHtml() #
Returns: String

Renders a browsable HTML gallery for generated packages and preview artifacts.

public String ToJson() #
Returns: String

Renders the summary as dependency-light JSON.

public String ToMarkdown() #
Returns: String

Renders the summary as Markdown.

public VisioShowcaseValidationReport ValidateArtifacts(Boolean requirePreviewsPerDiagram = false, Boolean requireProofsPerDiagram = false) #
Returns: VisioShowcaseValidationReport

Validates that showcase package and preview artifacts still match the summary metadata.

Parameters

requirePreviewsPerDiagram System.Boolean = false optionalposition: 0
Whether every generated package must have at least one matching preview artifact.
requireProofsPerDiagram System.Boolean = false optionalposition: 1
Whether every generated package must have at least one matching structural proof artifact.

Properties

public String ShowcasePath { get; } #

Absolute showcase root path used to calculate relative artifact paths.

public DateTimeOffset GeneratedAt { get; } #

UTC timestamp recorded when the summary was created.

public IReadOnlyList<VisioShowcaseArtifact> Packages { get; } #

Generated VSDX package artifacts.

public IReadOnlyList<VisioShowcaseArtifact> Previews { get; } #

Generated preview artifacts.

public IReadOnlyList<VisioShowcaseArtifact> Proofs { get; } #

Generated structural proof artifacts, such as inspection and stencil-profile text files.

public IReadOnlyList<VisioShowcaseArtifact> Artifacts { get; } #

All package, preview, and structural proof artifacts in deterministic output order.

public IReadOnlyList<VisioShowcaseDiagram> Diagrams { get; } #

Generated diagrams grouped with their package and matching preview artifacts.

public VisioShowcaseProofTotals ProofTotals { get; } #

Structural proof metrics aggregated across all generated diagrams.

public VisioShowcaseEvidenceTotals EvidenceTotals { get; } #

Preview and structural proof evidence completeness aggregated across all generated diagrams.

public IReadOnlyList<String> StencilCatalogs { get; } #

Distinct stencil catalogs represented across all generated diagram proof summaries.

public IReadOnlyList<VisioShowcaseStencilCatalogCoverage> StencilCatalogCoverage { get; } #

Stencil catalog coverage grouped by generated showcase diagrams.

Fields

public const String MarkdownFileName #

Default Markdown summary file name.

Value: showcase-summary.md
public const String JsonFileName #

Default machine-readable JSON summary file name.

Value: showcase-summary.json
public const String HtmlFileName #

Default browsable HTML gallery file name.

Value: showcase-gallery.html
public const Int32 JsonSchemaVersion #

Current machine-readable JSON summary schema version.

Value: 1