Show / Hide Table of Contents

Class InPlaceTransformationRuleSource<TIn1, TIn2>

Represents the usage of a transformation rule with two input arguments in a relational pattern

Inheritance
object
InPlaceTransformationRuleSource<TIn1, TIn2>
Implements
ITransformationRuleDependency
INotifyEnumerable<InPlaceComputationWrapper<TIn1, TIn2>>
IEnumerable<InPlaceComputationWrapper<TIn1, TIn2>>
INotifyEnumerable
IEnumerable
INotifyCollectionChanged
INotifiable
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Transformations.Linq
Assembly: NMF.Transformations.dll
Syntax
public class InPlaceTransformationRuleSource<TIn1, TIn2> : ITransformationRuleDependency, INotifyEnumerable<InPlaceComputationWrapper<TIn1, TIn2>>, IEnumerable<InPlaceComputationWrapper<TIn1, TIn2>>, INotifyEnumerable, IEnumerable, INotifyCollectionChanged, INotifiable, IDisposable where TIn1 : class where TIn2 : class
Type Parameters
Name Description
TIn1

The type of the first transformation rule input argument

TIn2

The type of the second transformation rule input argument

Constructors

| Edit this page View Source

InPlaceTransformationRuleSource(InPlaceTransformationRuleBase<TIn1, TIn2>, ITransformationContext)

Creates a new TransformationRuleSource instance for the given transformation rule in the given context

Declaration
public InPlaceTransformationRuleSource(InPlaceTransformationRuleBase<TIn1, TIn2> rule, ITransformationContext context)
Parameters
Type Name Description
InPlaceTransformationRuleBase<TIn1, TIn2> rule

The transformation rule that should be used as source

ITransformationContext context

The context in which the computations should be used by the current instance

Properties

| Edit this page View Source

Context

Gets the context in which the transformation rule source is active

Declaration
public ITransformationContext Context { get; }
Property Value
Type Description
ITransformationContext
| Edit this page View Source

Dependencies

Nodes that notify this node.

Declaration
public IEnumerable<INotifiable> Dependencies { get; }
Property Value
Type Description
IEnumerable<INotifiable>
| Edit this page View Source

ExecuteBefore

Gets or sets a value indicating whether the computation object should be forwarded before or after the dependencies are resolved

Declaration
public bool ExecuteBefore { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

ExecutionMetaData

Used by the execution engine during incremental execution.

Declaration
public ExecutionMetaData ExecutionMetaData { get; }
Property Value
Type Description
ExecutionMetaData
| Edit this page View Source

Filter

Gets or sets the filter to be used to filter computations

Declaration
public Func<InPlaceComputationWrapper<TIn1, TIn2>, bool> Filter { get; set; }
Property Value
Type Description
Func<InPlaceComputationWrapper<TIn1, TIn2>, bool>
| Edit this page View Source

Successors

The nodes that will get notified by this node.

Declaration
public ISuccessorList Successors { get; }
Property Value
Type Description
ISuccessorList
| Edit this page View Source

TransformationRule

Gets the transformation rule this transformation rule source is responsible for

Declaration
public InPlaceTransformationRuleBase<TIn1, TIn2> TransformationRule { get; }
Property Value
Type Description
InPlaceTransformationRuleBase<TIn1, TIn2>

Methods

| Edit this page View Source

Dispose()

Clears dependencies

Declaration
public void Dispose()
| Edit this page View Source

Dispose(bool)

Clears dependencies

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

A value indicating whether Dispose was called

| Edit this page View Source

GetEnumerator()

Gets an enumerator that enumerates the collected computations so far

Declaration
public IEnumerator<InPlaceComputationWrapper<TIn1, TIn2>> GetEnumerator()
Returns
Type Description
IEnumerator<InPlaceComputationWrapper<TIn1, TIn2>>

An enumerator

| Edit this page View Source

HandleDependency(Computation)

Receives a new computation from the computation rule

Declaration
public void HandleDependency(Computation computation)
Parameters
Type Name Description
Computation computation

The computation that is received

| Edit this page View Source

Notify(IList<INotificationResult>)

Gets called when one of the dependencies signals a notification.

Declaration
public INotificationResult Notify(IList<INotificationResult> sources)
Parameters
Type Name Description
IList<INotificationResult> sources

Contains information about what triggered this notification.

Returns
Type Description
INotificationResult

An object describing the changes that happened in this notification.

Events

| Edit this page View Source

CollectionChanged

Gets fired when new elements appear in the trace

Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Type Description
NotifyCollectionChangedEventHandler

Implements

ITransformationRuleDependency
INotifyEnumerable<T>
IEnumerable<T>
INotifyEnumerable
IEnumerable
INotifyCollectionChanged
INotifiable
IDisposable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX