Class IncrementalPropertyConsistencyCheck<T>
Denotes an incrementally maintained inconsistency that a property has different values in LHS and RHS
Inheritance
IncrementalPropertyConsistencyCheck<T>
Assembly: NMF.Synchronizations.dll
Syntax
public class IncrementalPropertyConsistencyCheck<T> : IDisposable, IInconsistency, IEquatable<IInconsistency>
Type Parameters
Constructors
|
Edit this page
View Source
IncrementalPropertyConsistencyCheck(INotifyReversableValue<T>, INotifyReversableValue<T>, ISynchronizationContext)
Creates a new inconsistency
Declaration
public IncrementalPropertyConsistencyCheck(INotifyReversableValue<T> source1, INotifyReversableValue<T> source2, ISynchronizationContext context)
Parameters
Properties
|
Edit this page
View Source
CanResolveLeft
Gets a value indicating whether the inconsistency can be automatically resolved modifying the left hand model only
Declaration
public bool CanResolveLeft { get; }
Property Value
|
Edit this page
View Source
CanResolveRight
Gets a value indicating whether the inconsistency can be automatically resolved modifying the right hand model only
Declaration
public bool CanResolveRight { get; }
Property Value
|
Edit this page
View Source
Context
Gets the synchronization context in which the inconsistency was found
Declaration
public ISynchronizationContext Context { get; }
Property Value
|
Edit this page
View Source
Representation
Gets a human-readable description of the inconsistency
Declaration
public string Representation { get; }
Property Value
|
Edit this page
View Source
SourceLeft
Gets an incrementally maintained value for the LHS property value
Declaration
public INotifyReversableValue<T> SourceLeft { get; }
Property Value
|
Edit this page
View Source
SourceRight
Gets an incrementally maintained value for the RHS property value
Declaration
public INotifyReversableValue<T> SourceRight { get; }
Property Value
Methods
|
Edit this page
View Source
Dispose()
Declaration
|
Edit this page
View Source
Equals(IInconsistency)
Declaration
public bool Equals(IInconsistency other)
Parameters
Returns
|
Edit this page
View Source
Equals(IncrementalPropertyConsistencyCheck<T>)
Declaration
public bool Equals(IncrementalPropertyConsistencyCheck<T> other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ResolveLeft()
Resolves the inconsistency modifying the left hand side model
Declaration
public void ResolveLeft()
|
Edit this page
View Source
ResolveRight()
Resolves the inconsistency modifying the right hand side model
Declaration
public void ResolveRight()
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements