Table of Contents

Class IncrementalPattern<TIn1, TIn2>

Namespace
NMF.Transformations.Linq
Assembly
NMF.Transformations.dll

Represents a relational pattern for a transformation rule with one input argument

public class IncrementalPattern<TIn1, TIn2> : ITransformationRulePattern<TIn1, TIn2>, ITransformationRulePattern, ITransformationPattern

Type Parameters

TIn1

The first input type of the targeted transformation rule

TIn2

The second input type of the targeted transformation rule

Inheritance
IncrementalPattern<TIn1, TIn2>
Implements
Inherited Members

Constructors

IncrementalPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>>)

Creates a new relational pattern with the given pattern constructor

public IncrementalPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> sourceCreator)

Parameters

sourceCreator Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>>

A method that creates a relational source for a given transformation context

Properties

SourceCreator

Gets the pattern constructor function that is used to build up relational patterns

public Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> SourceCreator { get; }

Property Value

Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>>

TargetRule

The transformation rule, the pattern should be applied to

public GeneralTransformationRule<TIn1, TIn2> TargetRule { get; set; }

Property Value

GeneralTransformationRule<TIn1, TIn2>

Methods

CreatePattern(ITransformationContext)

Creates a pattern context for the given transformation context

public ITransformationPatternContext CreatePattern(ITransformationContext context)

Parameters

context ITransformationContext

The transformation context the pattern should be created for

Returns

ITransformationPatternContext