Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioShowcaseSummary

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • VisioShowcaseSummary

Usage

Explore 1 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.

Returned or exposed by 1

Methods

public static VisioShowcaseSummary Create(string showcasePath, IEnumerable<string> packageFiles, IEnumerable<string>? previewFiles = null, DateTimeOffset? generatedAt = null, IEnumerable<string>? proofFiles = null) #

Creates a summary from generated package and preview paths.

Parameters

showcasePath string required
Showcase root folder.
packageFiles System.Collections.Generic.IEnumerable<string> required
Generated VSDX package paths.
previewFiles System.Collections.Generic.IEnumerable<string>? = null optional
Generated preview paths.
generatedAt System.DateTimeOffset? = null optional
Optional timestamp, primarily for deterministic tests.
proofFiles System.Collections.Generic.IEnumerable<string>? = null optional
Generated structural proof paths, such as inspection and stencil-profile text artifacts.
public void EnsureArtifactsValid(bool requirePreviewsPerDiagram = false, bool requireProofsPerDiagram = false) #

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

Parameters

requirePreviewsPerDiagram bool = false optional
Whether every generated package must have at least one matching preview artifact.
requireProofsPerDiagram bool = false optional
Whether every generated package must have at least one matching structural proof artifact.
public void SaveArtifacts() #

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

public void SaveHtml(string path) #

Writes a browsable HTML gallery to the specified path.

Parameters

path string required
Target HTML file path.
public void SaveJson(string path) #

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

Parameters

path string required
Target JSON file path.
public void SaveMarkdown(string path) #

Writes a Markdown summary to the specified path.

Parameters

path string required
Target Markdown file path.
public string ToHtml() #

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

Returns

string
public string ToJson() #

Renders the summary as dependency-light JSON.

Returns

string
public string ToMarkdown() #

Renders the summary as Markdown.

Returns

string
public VisioShowcaseValidationReport ValidateArtifacts(bool requirePreviewsPerDiagram = false, bool requireProofsPerDiagram = false) #

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

Parameters

requirePreviewsPerDiagram bool = false optional
Whether every generated package must have at least one matching preview artifact.
requireProofsPerDiagram bool = false optional
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 int JsonSchemaVersion #

Current machine-readable JSON summary schema version.

Value: 1