Class IncrementalPattern<TIn1, TIn2>
Represents a relational pattern for a transformation rule with one input argument
Inherited Members
Namespace: NMF.Transformations.Linq
Assembly: NMF.Transformations.dll
Syntax
public class IncrementalPattern<TIn1, TIn2> : ITransformationRulePattern<TIn1, TIn2>, ITransformationRulePattern, ITransformationPattern
Type Parameters
Name | Description |
---|---|
TIn1 | The first input type of the targeted transformation rule |
TIn2 | The second input type of the targeted transformation rule |
Constructors
| Edit this page View SourceIncrementalPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>>)
Creates a new relational pattern with the given pattern constructor
Declaration
public IncrementalPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> sourceCreator)
Parameters
Type | Name | Description |
---|---|---|
Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> | sourceCreator | A method that creates a relational source for a given transformation context |
Properties
| Edit this page View SourceSourceCreator
Gets the pattern constructor function that is used to build up relational patterns
Declaration
public Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> SourceCreator { get; }
Property Value
Type | Description |
---|---|
Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> |
TargetRule
The transformation rule, the pattern should be applied to
Declaration
public GeneralTransformationRule<TIn1, TIn2> TargetRule { get; set; }
Property Value
Type | Description |
---|---|
GeneralTransformationRule<TIn1, TIn2> |
Methods
| Edit this page View SourceCreatePattern(ITransformationContext)
Creates a pattern context for the given transformation context
Declaration
public ITransformationPatternContext CreatePattern(ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
ITransformationContext | context | The transformation context the pattern should be created for |
Returns
Type | Description |
---|---|
ITransformationPatternContext |