Table of Contents

Namespace SnapshotAssertions.Render

Classes

Renderer

Static factories for SnapshotRenderer<T> instances. Use For<T>(Func<T, string>) to build a renderer from an inline lambda when a full subclass is unnecessary.

SnapshotRenderer<T>

Renders an instance of T as a canonical string for snapshot comparison. Consumers subclass this to plug their domain types (Google.Protobuf messages, XDocument, Activity, project-specific value objects) into the snapshot pipeline without the framework-agnostic core taking on those types as dependencies.