DiffEntry<T>
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
A single diff entry wrapping an item from either side.
public sealed record DiffEntry<T> : IEquatable<DiffEntry<T>>Inheritance
Section titled “Inheritance”Object → DiffEntry<T>
Implements
Section titled “Implements”Constructors
Section titled “Constructors”DiffEntry(DiffKind, T?, T?, string?)
Section titled “DiffEntry(DiffKind, T?, T?, string?)”A single diff entry wrapping an item from either side.
Parameters:
Kind(DiffKind): Whether the item was added, removed, or changed.Left(<T>): The item from the left (baseline) assembly, or null if added.Right(<T>): The item from the right (updated) assembly, or null if removed.ChangeDescription(String): A human-readable description of what changed, or null.
public DiffEntry(DiffKind Kind, T? Left, T? Right, string? ChangeDescription)Properties
Section titled “Properties”ChangeDescription
Section titled “ChangeDescription”A human-readable description of what changed, or null.
Returns: String
public string? ChangeDescription { get; init; }Whether the item was added, removed, or changed.
Returns: DiffKind
public DiffKind Kind { get; init; }The item from the left (baseline) assembly, or null if added.
Returns: <T>
public T? Left { get; init; }The item from the right (updated) assembly, or null if removed.
Returns: <T>
public T? Right { get; init; }