ResponseSnapshotExtensions Class

Definition

Extension methods for creating immutable snapshots of ResponseObject objects.

public static class ResponseSnapshotExtensions
type ResponseSnapshotExtensions = class
Public Module ResponseSnapshotExtensions
Inheritance
ResponseSnapshotExtensions

Methods

Name Description
Snapshot(ResponseObject)

Creates an immutable deep copy of the ResponseObject via ModelReaderWriter round-trip serialization.

SnapshotEmbeddedResponse(ResponseStreamEvent, ResponseObject)

If the event is a lifecycle event that embeds a ResponseObject reference, replaces it with an immutable snapshot of the given accumulator. Non-lifecycle events are left unchanged.

Applies to