Class FakesTableDelta
A change to a run's fakes while it runs: what a test written in VBA sets up (Fakes.MsgBox.Returns vbYes) reaches the table this way, with the
answer of the call that set it up.
public sealed record FakesTableDelta : IEquatable<FakesTableDelta>
- Inheritance
-
FakesTableDelta
- Implements
- Inherited Members
Constructors
FakesTableDelta(bool, IReadOnlyList<FakeRow>, IReadOnlyList<string>)
A change to a run's fakes while it runs: what a test written in VBA sets up (Fakes.MsgBox.Returns vbYes) reaches the table this way, with the
answer of the call that set it up.
public FakesTableDelta(bool Reset, IReadOnlyList<FakeRow> Add, IReadOnlyList<string> Remove)
Parameters
ResetboolWhether every row is removed before
Addis applied.AddIReadOnlyList<FakeRow>The rows added, after the rows the table keeps.
RemoveIReadOnlyList<string>The targets whose rows are removed, before
Addis applied.
Properties
Add
The rows added, after the rows the table keeps.
public IReadOnlyList<FakeRow> Add { get; init; }
Property Value
Remove
The targets whose rows are removed, before Add is applied.
public IReadOnlyList<string> Remove { get; init; }
Property Value
Reset
Whether every row is removed before Add is applied.
public bool Reset { get; init; }