Show / Hide Table of Contents

Class SynchronizationContextExtensions

Denotes extension methods for the transformation context to easily access the trace links in expressions

Inheritance
object
SynchronizationContextExtensions
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 static class SynchronizationContextExtensions

Methods

| Edit this page View Source

MapLeft<TLeft, TRight>(ITransformationContext, SynchronizationRule<TLeft, TRight>, TLeft)

Maps the given LHS element using the provided synchronization rule

Declaration
[ObservableProxy(typeof(SynchronizationContextExtensions.IncrementalHelpers), "MapLeftIncremental", false)]
public static TRight MapLeft<TLeft, TRight>(this ITransformationContext context, SynchronizationRule<TLeft, TRight> rule, TLeft left)
Parameters
Type Name Description
ITransformationContext context

The transformation context

SynchronizationRule<TLeft, TRight> rule

The rule that should be used as isomorphism

TLeft left

The LHS element

Returns
Type Description
TRight

The RHS element corresponding to the provided LHS element

Type Parameters
Name Description
TLeft

The LHS element type

TRight

The RHS element type

| Edit this page View Source

MapLefts<TLeft, TRight>(ITransformationContext, SynchronizationRule<TLeft, TRight>, IEnumerableExpression<TLeft>)

Maps the given LHS elements using the provided synchronization rule

Declaration
public static IEnumerableExpression<TRight> MapLefts<TLeft, TRight>(this ITransformationContext context, SynchronizationRule<TLeft, TRight> rule, IEnumerableExpression<TLeft> lefts)
Parameters
Type Name Description
ITransformationContext context

The transformation context

SynchronizationRule<TLeft, TRight> rule

The rule that should be used as isomorphism

IEnumerableExpression<TLeft> lefts

The LHS elements

Returns
Type Description
IEnumerableExpression<TRight>

The RHS elements corresponding to the provided LHS elements

Type Parameters
Name Description
TLeft

The LHS element type

TRight

The RHS element type

| Edit this page View Source

MapRight<TLeft, TRight>(ITransformationContext, SynchronizationRule<TLeft, TRight>, TRight)

Maps the given RHS element using the provided synchronization rule

Declaration
[ObservableProxy(typeof(SynchronizationContextExtensions.IncrementalHelpers), "MapRightIncremental", false)]
public static TLeft MapRight<TLeft, TRight>(this ITransformationContext context, SynchronizationRule<TLeft, TRight> rule, TRight right)
Parameters
Type Name Description
ITransformationContext context

The transformation context

SynchronizationRule<TLeft, TRight> rule

The rule that should be used as isomorphism

TRight right

The RHS element

Returns
Type Description
TLeft

The LHS element corresponding to the provided RHS element

Type Parameters
Name Description
TLeft

The LHS element type

TRight

The RHS element type

| Edit this page View Source

MapRights<TLeft, TRight>(ITransformationContext, SynchronizationRule<TLeft, TRight>, IEnumerableExpression<TRight>)

Maps the given RHS elements using the provided synchronization rule

Declaration
public static IEnumerableExpression<TLeft> MapRights<TLeft, TRight>(this ITransformationContext context, SynchronizationRule<TLeft, TRight> rule, IEnumerableExpression<TRight> rights)
Parameters
Type Name Description
ITransformationContext context

The transformation context

SynchronizationRule<TLeft, TRight> rule

The rule that should be used as isomorphism

IEnumerableExpression<TRight> rights

The RHS elements

Returns
Type Description
IEnumerableExpression<TLeft>

The LHS elements corresponding to the provided RHS elements

Type Parameters
Name Description
TLeft

The LHS element type

TRight

The RHS element type

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