Class Difference
- Namespace
- Xping.Sdk.Core.Session.Comparison
- Assembly
- Xping.Sdk.Core.dll
Represents a difference between two TestSession properties.
public record Difference : IEquatable<Difference>
- Inheritance
-
Difference
- Implements
- Inherited Members
Constructors
Difference(string, object?, object?, DifferenceType)
Represents a difference between two TestSession properties.
public Difference(string PropertyName, object? Value1, object? Value2, DifferenceType Type)
Parameters
PropertyName
stringGets or sets the name of the property that differs.
Value1
objectGets or sets the value of the property in the first TestSession.
Value2
objectGets or sets the value of the property in the second TestSession.
Type
DifferenceTypeGets or sets the type of difference.
Properties
PropertyName
Gets or sets the name of the property that differs.
public string PropertyName { get; init; }
Property Value
Type
Gets or sets the type of difference.
public DifferenceType Type { get; init; }
Property Value
Value1
Gets or sets the value of the property in the first TestSession.
public object? Value1 { get; init; }
Property Value
Value2
Gets or sets the value of the property in the second TestSession.
public object? Value2 { get; init; }