Interface IInconsistencyDescriptor<TLeft, TRight, TDepLeft, TDepRight>
- Namespace
- NMF.Synchronizations.Inconsistencies
- Assembly
- NMF.Synchronizations.dll
Denotes an interface to describe dependencies
public interface IInconsistencyDescriptor<TLeft, TRight, TDepLeft, TDepRight>
Type Parameters
TLeftthe type of the left element
TRightthe type of the right element
TDepLeftthe type of the left value
TDepRightthe type of the right value
Methods
DescribeLeft(TLeft, TRight, TDepLeft, TDepRight)
Describe the inconsistency from the left point of view
string DescribeLeft(TLeft left, TRight right, TDepLeft depLeft, TDepRight depRight)
Parameters
leftTLeftthe left element
rightTRightthe right element
depLeftTDepLeftthe dependent left element
depRightTDepRightthe dependent right element
Returns
- string
A human-readable string
DescribeRight(TLeft, TRight, TDepLeft, TDepRight)
Describe the inconsistency from the right point of view
string DescribeRight(TLeft left, TRight right, TDepLeft depLeft, TDepRight depRight)
Parameters
leftTLeftthe left element
rightTRightthe right element
depLeftTDepLeftthe dependent left element
depRightTDepRightthe dependent right element
Returns
- string
A human-readable string