Table of Contents

Interface IInconsistencyDescriptorSyntax<TLeft, TRight, TDepLeft, TDepRight>

Namespace
NMF.Synchronizations.Inconsistencies
Assembly
NMF.Synchronizations.dll

Denotes an interface for a syntax allowing to add custom descriptors

public interface IInconsistencyDescriptorSyntax<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

DescribeLeftChange(Func<TLeft, TRight, TDepLeft, TDepRight, string>)

Adds a description for changes at the left side

IInconsistencyDescriptorSyntax<TLeft, TRight, TDepLeft, TDepRight> DescribeLeftChange(Func<TLeft, TRight, TDepLeft, TDepRight, string> descriptor)

Parameters

descriptor Func<TLeft, TRight, TDepLeft, TDepRight, string>

a function returning a human-readable description of the change

Returns

IInconsistencyDescriptorSyntax<TLeft, TRight, TDepLeft, TDepRight>

a human-readable description of the change

DescribeRightChange(Func<TLeft, TRight, TDepLeft, TDepRight, string>)

Adds a description for changes at the right side

IInconsistencyDescriptorSyntax<TLeft, TRight, TDepLeft, TDepRight> DescribeRightChange(Func<TLeft, TRight, TDepLeft, TDepRight, string> descriptor)

Parameters

descriptor Func<TLeft, TRight, TDepLeft, TDepRight, string>

a function returning a human-readable description of the change

Returns

IInconsistencyDescriptorSyntax<TLeft, TRight, TDepLeft, TDepRight>

a human-readable description of the change