Show / Hide Table of Contents

Class MissingItemInconsistency<TValue>

Denotes the inconsistency that an item is missing in a synchronized collection

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

The type of the item

Constructors

| Edit this page View Source

MissingItemInconsistency(ISynchronizationContext, ICollection<TValue>, ICollection<TValue>, TValue, bool)

Declaration
public MissingItemInconsistency(ISynchronizationContext context, ICollection<TValue> sourceCollection, ICollection<TValue> targetCollection, TValue source, bool isLeftMissing)
Parameters
Type Name Description
ISynchronizationContext context
ICollection<TValue> sourceCollection
ICollection<TValue> targetCollection
TValue source
bool isLeftMissing

Properties

| Edit this page View Source

CanResolveLeft

Describes inconsistencies that can occur between the right hand and the left hand of a synchronization

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

CanResolveRight

Describes inconsistencies that can occur between the right hand and the left hand of a synchronization

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

Context

Gets the context in which this inconsistency occured

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

IsLeftMissing

True, if the element is missing in the left side, otherwise false

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

Source

Gets the source element that is missing

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

SourceCollection

Gets the source collection where the element is contained

Declaration
public ICollection<TValue> SourceCollection { get; }
Property Value
Type Description
ICollection<TValue>
| Edit this page View Source

TargetCollection

Gets the target collection where the element is missing

Declaration
public ICollection<TValue> TargetCollection { get; }
Property Value
Type Description
ICollection<TValue>

Methods

| 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(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()

Describes inconsistencies that can occur between the right hand and the left hand of a synchronization

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

ResolveRight()

Describes inconsistencies that can occur between the right hand and the left hand of a synchronization

Declaration
public void ResolveRight()

Implements

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