Class MissingItemInconsistency<TValue>
Denotes the inconsistency that an item is missing in a synchronized collection
Inheritance
MissingItemInconsistency<TValue>
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
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
|
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
|
Edit this page
View Source
Context
Gets the context in which this inconsistency occured
Declaration
public ISynchronizationContext Context { get; }
Property Value
|
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
|
Edit this page
View Source
Source
Gets the source element that is missing
Declaration
public TValue Source { get; }
Property Value
|
Edit this page
View Source
SourceCollection
Gets the source collection where the element is contained
Declaration
public ICollection<TValue> SourceCollection { get; }
Property Value
|
Edit this page
View Source
TargetCollection
Gets the target collection where the element is missing
Declaration
public ICollection<TValue> TargetCollection { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(IInconsistency)
Declaration
public bool Equals(IInconsistency 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()
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