Skip to content

Namespace Momentum.Extensions.EventMarkdownGenerator.Services

Classes

AssemblyEventDiscovery

EventViewModelFactory

Factory for creating view models used in Liquid template rendering. Extracts complex object creation logic from FluidMarkdownGenerator.

FluidMarkdownGenerator

Generates markdown documentation from event metadata using Fluid (Liquid) templates. Supports custom template directories and generates both event and schema documentation.

JsonSidebarGenerator

Generates JSON sidebar navigation structure for documentation sites. Groups events by subdomain and section, with separate schemas section.

PayloadSizeCalculator

Calculates estimated payload sizes for event properties based on type analysis and data annotation constraints (MaxLength, Range, StringLength). Subclass to define serialization-format-specific overhead (JSON, Binary, etc.).

TypeUtils

Shared utility methods for type checking and name formatting. Consolidates type-related logic from multiple service classes.

XmlDocumentationParser