Table of Contents

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

TLeft

the type of the left element

TRight

the type of the right element

TDepLeft

the type of the left value

TDepRight

the 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

left TLeft

the left element

right TRight

the right element

depLeft TDepLeft

the dependent left element

depRight TDepRight

the 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

left TLeft

the left element

right TRight

the right element

depLeft TDepLeft

the dependent left element

depRight TDepRight

the dependent right element

Returns

string

A human-readable string