Class EntityCompare.ResultBucket<T>
Represents the result of comparing two entities.
public record EntityCompare.ResultBucket<T> : IEquatable<EntityCompare.ResultBucket<T>>
Type Parameters
T
The type of the entity.
- Inheritance
-
EntityCompare.ResultBucket<T>
- Implements
- Inherited Members
Properties
- CompareResult
Gets the comparison result.
- Left
Gets the left entity.
- LeftName
Gets the name of the left entity.
- Right
Gets the right entity.
- RightName
Gets the name of the right entity.
Methods
- Changed(T, T)
Creates a result bucket indicating the entity is present in both collections but has changed.
- PresentInLeft(T)
Creates a result bucket indicating the entity is present in the left collection only.
- PresentInRight(T)
Creates a result bucket indicating the entity is present in the right collection only.
- Unchanged(T, T)
Creates a result bucket indicating the entity is present in both collections and is unchanged.