Class ChangeMergeResult<TChanges>
- Namespace
- Stratara.Shared.Merging.ChangeTracking
- Assembly
- Stratara.Shared.dll
Result of a ChangeMerger operation: the merged TChanges payload
plus the per-property change details that constitute the merge's audit trail.
[ExcludeFromCodeCoverage]
public sealed record ChangeMergeResult<TChanges> : IEquatable<ChangeMergeResult<TChanges>>
Type Parameters
TChangesCLR type of the change-set payload (typically a command).
- Inheritance
-
ChangeMergeResult<TChanges>
- Implements
-
IEquatable<ChangeMergeResult<TChanges>>
- Inherited Members
- Extension Methods
Constructors
ChangeMergeResult(TChanges, IReadOnlyList<ChangeDetail>)
Result of a ChangeMerger operation: the merged TChanges payload
plus the per-property change details that constitute the merge's audit trail.
public ChangeMergeResult(TChanges MergedChanges, IReadOnlyList<ChangeDetail> Differences)
Parameters
MergedChangesTChangesThe merged payload with conflicting fields resolved against the current aggregate state.
DifferencesIReadOnlyList<ChangeDetail>Per-property change details describing source, current, and incoming values.
Properties
Differences
Per-property change details describing source, current, and incoming values.
public IReadOnlyList<ChangeDetail> Differences { get; init; }
Property Value
MergedChanges
The merged payload with conflicting fields resolved against the current aggregate state.
public TChanges MergedChanges { get; init; }
Property Value
- TChanges