Table of Contents

Namespace MailStencil

Classes

EmailTemplateContent

Immutable engine-neutral template text, independent of storage identity.

EmailTemplateSource

A coherent snapshot returned by a template reader.

MailStencilOptions

Engine-independent runtime defaults. These are configuration, not mutable runtime state.

RenderedEmailTemplate

Rendered email content ready for an external email sender.

TemplateDiagnostic

An engine-independent structured template problem.

TemplateMetadata

Optional metadata describing a complete template snapshot.

TemplateNotFoundException

No template exists after all valid exact culture fallback lookups return null.

TemplateRenderingException

An exceptional failure while projecting a model or executing a validated template.

TemplateRequest

Identifies an exact template variant in a reader's configured namespace.

TemplateSourceSpan

A location within one component. Offsets are zero-based UTF-16; line and column are one-based.

TemplateValidationException

Template content or its declared model contract failed static validation.

TemplateValidationResult

An immutable collection of validation diagnostics.

Interfaces

IEmailTemplateService

The runtime entry point for loading and rendering a template.

ITemplateReader

Reads exact template snapshots without requiring write access.

ITemplateRenderer

Renders content with a strongly typed model, without accessing template storage.

ITemplateValidator

Validates unsaved template content against a declared model type without executing it.

Enums

TemplateComponent

The email component or whole-template scope of a diagnostic.

TemplateDiagnosticSeverity

The significance of a template diagnostic.