Class IncrementalPattern<TIn>
- Namespace
- NMF.Transformations.Linq
- Assembly
- NMF.Transformations.dll
Represents a relational pattern for a transformation rule with one input argument
public class IncrementalPattern<TIn> : ITransformationRulePattern<TIn>, ITransformationRulePattern, ITransformationPattern
Type Parameters
TIn
The input type of the targeted transformation rule
- Inheritance
-
IncrementalPattern<TIn>
- Implements
- Inherited Members
Constructors
IncrementalPattern(Func<ITransformationContext, INotifyEnumerable<TIn>>)
Creates a new relational pattern with the given pattern constructor
public IncrementalPattern(Func<ITransformationContext, INotifyEnumerable<TIn>> sourceCreator)
Parameters
sourceCreator
Func<ITransformationContext, INotifyEnumerable<TIn>>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<TIn>> SourceCreator { get; }
Property Value
TargetRule
The transformation rule, the pattern should be applied to
public GeneralTransformationRule<TIn> TargetRule { get; set; }
Property Value
Methods
CreatePattern(ITransformationContext)
Creates a pattern context for the given transformation context
public ITransformationPatternContext CreatePattern(ITransformationContext context)
Parameters
context
ITransformationContextThe transformation context the pattern should be created for