Show / Hide Table of Contents

Class IncrementalPropertyConsistencyCheck<T>

Denotes an incrementally maintained inconsistency that a property has different values in LHS and RHS

Inheritance
object
IncrementalPropertyConsistencyCheck<T>
Implements
IDisposable
IInconsistency
IEquatable<IInconsistency>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: NMF.Synchronizations.Inconsistencies
Assembly: NMF.Synchronizations.dll
Syntax
public class IncrementalPropertyConsistencyCheck<T> : IDisposable, IInconsistency, IEquatable<IInconsistency>
Type Parameters
Name Description
T

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
Type Name Description
INotifyReversableValue<T> source1

The LHS source

INotifyReversableValue<T> source2

The RHS source

ISynchronizationContext context

The context in which the inconsistency arose

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
Type Description
bool
| 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
Type Description
bool
| Edit this page View Source

Context

Gets the synchronization context in which the inconsistency was found

Declaration
public ISynchronizationContext Context { get; }
Property Value
Type Description
ISynchronizationContext
| Edit this page View Source

Representation

Gets a human-readable description of the inconsistency

Declaration
public string Representation { get; }
Property Value
Type Description
string
| Edit this page View Source

SourceLeft

Gets an incrementally maintained value for the LHS property value

Declaration
public INotifyReversableValue<T> SourceLeft { get; }
Property Value
Type Description
INotifyReversableValue<T>
| Edit this page View Source

SourceRight

Gets an incrementally maintained value for the RHS property value

Declaration
public INotifyReversableValue<T> SourceRight { get; }
Property Value
Type Description
INotifyReversableValue<T>

Methods

| Edit this page View Source

Dispose()

Declaration
public void Dispose()
| Edit this page View Source

Equals(IInconsistency)

Declaration
public bool Equals(IInconsistency other)
Parameters
Type Name Description
IInconsistency other
Returns
Type Description
bool
| Edit this page View Source

Equals(IncrementalPropertyConsistencyCheck<T>)

Declaration
public bool Equals(IncrementalPropertyConsistencyCheck<T> other)
Parameters
Type Name Description
IncrementalPropertyConsistencyCheck<T> other
Returns
Type Description
bool
| Edit this page View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
| Edit this page View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
| 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
Type Description
string
Overrides
object.ToString()

Implements

IDisposable
IInconsistency
IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX