Class IncrementalReferenceConsistencyCheck<TLeft, TRight, TDepLeft, TDepRight>
- Namespace
- NMF.Synchronizations.Inconsistencies
- Assembly
- NMF.Synchronizations.dll
Denotes an incrementally maintained inconsistency that a reference has different values in LHS and RHS
public class IncrementalReferenceConsistencyCheck<TLeft, TRight, TDepLeft, TDepRight> : IDisposable, IInconsistency, IEquatable<IInconsistency>
Type Parameters
TLeft
The LHS context type
TRight
The RHS context type
TDepLeft
The LHS dependency type
TDepRight
The RHS dependency type
- Inheritance
-
IncrementalReferenceConsistencyCheck<TLeft, TRight, TDepLeft, TDepRight>
- Implements
- Inherited Members
Properties
CanResolveLeft
Gets a value indicating whether the inconsistency can be automatically resolved modifying the left hand model only
public bool CanResolveLeft { get; }
Property Value
CanResolveRight
Gets a value indicating whether the inconsistency can be automatically resolved modifying the right hand model only
public bool CanResolveRight { get; }
Property Value
Computation
Gets the base correspondence on the basis of which the inconsistency was detected
public SynchronizationComputation<TLeft, TRight> Computation { get; }
Property Value
- SynchronizationComputation<TLeft, TRight>
Left
Gets an incrementally maintained value of the LHS dependency
public INotifyReversableValue<TDepLeft> Left { get; }
Property Value
- INotifyReversableValue<TDepLeft>
Right
Gets an incrementally maintained value of the RHS dependency
public INotifyReversableValue<TDepRight> Right { get; }
Property Value
- INotifyReversableValue<TDepRight>
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(IInconsistency)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IInconsistency other)
Parameters
other
IInconsistencyAn object to compare with this object.
Returns
Equals(IncrementalReferenceConsistencyCheck<TLeft, TRight, TDepLeft, TDepRight>)
public bool Equals(IncrementalReferenceConsistencyCheck<TLeft, TRight, TDepLeft, TDepRight> other)
Parameters
other
IncrementalReferenceConsistencyCheck<TLeft, TRight, TDepLeft, TDepRight>
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ResolveLeft()
Resolves the inconsistency modifying the left hand side model
public void ResolveLeft()
ResolveRight()
Resolves the inconsistency modifying the right hand side model
public void ResolveRight()