HumanReadableSnapshotSerializer Class
Serializes objects to human-readable string representations suitable for snapshot testing.
public sealed class HumanReadableSnapshotSerializer : SnapshotSerializer- Inheritance
SnapshotSerializerHumanReadableSnapshotSerializer
Constructors
| Name | Description |
|---|---|
| HumanReadableSnapshotSerializer(HumanReadableSerializerOptions?) | |
| HumanReadableSnapshotSerializer(Action<HumanReadableSerializerOptions>?) |
HumanReadableSnapshotSerializer overloads
HumanReadableSnapshotSerializer(HumanReadableSerializerOptions?)
HumanReadableSnapshotSerializer.cspublic HumanReadableSnapshotSerializer(HumanReadableSerializerOptions? options = null)Parameters
optionsHumanReadableSerializerOptions?
No documentation is available.
HumanReadableSnapshotSerializer(Action<HumanReadableSerializerOptions>?)
HumanReadableSnapshotSerializer.cspublic HumanReadableSnapshotSerializer(Action<HumanReadableSerializerOptions>? configure)Parameters
configureAction<HumanReadableSerializerOptions>?
No documentation is available.
Methods
| Name | Description |
|---|---|
| Serialize(object?) | Serializes an object to a string representation. |