PullResult
Result of a sync pull operation.
public sealed record PullResult : IEquatable<PullResult>
Example
// After a successful pull operation
var result = new PullResult(ChangesApplied: 42, FromVersion: 100, ToVersion: 142);
Console.WriteLine($"Pulled {result.ChangesApplied} changes");
Constructors
PullResult
public PullResult(int ChangesApplied, long FromVersion, long ToVersion)
Result of a sync pull operation.
| Parameter | Type | Description |
|---|---|---|
ChangesApplied |
Int32 |
Number of changes pulled and applied. |
FromVersion |
Int64 |
Starting version of the pull. |
ToVersion |
Int64 |
Ending version after the pull. |
Properties
ChangesApplied
public int ChangesApplied { get; init; }
Number of changes pulled and applied.
FromVersion
public long FromVersion { get; init; }
Starting version of the pull.
ToVersion
public long ToVersion { get; init; }
Ending version after the pull.