Show / Hide Table of Contents

Class SyncHelper<TLeft, TRight>

Denotes a utility class to create synchronization helpers

Inheritance
object
SyncHelper<TLeft, TRight>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Synchronizations
Assembly: NMF.Synchronizations.dll
Syntax
public class SyncHelper<TLeft, TRight>
Type Parameters
Name Description
TLeft
TRight

Methods

| Edit this page View Source

SynchronizeMany<TValue>(Func<TLeft, ICollectionExpression<TValue>>, Func<TRight, ICollectionExpression<TValue>>)

Create a new synchronizer that synchronizes instances along given predicates

Declaration
public static ISyncer<TLeft, TRight> SynchronizeMany<TValue>(Func<TLeft, ICollectionExpression<TValue>> leftExpression, Func<TRight, ICollectionExpression<TValue>> rightExpression)
Parameters
Type Name Description
Func<TLeft, ICollectionExpression<TValue>> leftExpression

The expression to select values on the left side

Func<TRight, ICollectionExpression<TValue>> rightExpression

The expression to select values on the right side

Returns
Type Description
ISyncer<TLeft, TRight>

An object that synchronizes the objects

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

Synchronize<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Create a new synchronizer that synchronizes instances along given predicates

Declaration
public static ISyncer<TLeft, TRight> Synchronize<TValue>(Expression<Func<TLeft, TValue>> leftExpression, Expression<Func<TRight, TValue>> rightExpression)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftExpression

The expression to select values on the left side

Expression<Func<TRight, TValue>> rightExpression

The expression to select values on the right side

Returns
Type Description
ISyncer<TLeft, TRight>

An object that synchronizes the objects

Type Parameters
Name Description
TValue

The type of the values

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX