Transformation Examples

There are a number of different styles of creating reactive and observable transformations.

Class Person in these examples is an observable class. That means an instance of this class sends change notifications whenever a property changes value. See for a possible implementation.

*Before version there was a difference between implicit and explicit observable (should be reactive) LINQ. Implicit observable methods would take a lambda expression whenever applicable and use ExpressionObserver to analyse it for dependencies. Since then LINQ capability has been added to ExpressionObserver itself and the resulting queries have a better performance than queries constructed with Implicit Observable LINQ. Implicit Observable LINQ has therefore been removed and Explicit Observable LINQ is the only remaining variation. Explicit Observable LINQ has been moved up in the namespace hierarchy and is now named just 'Observable LINQ'. It's methods are implemented in the static class Obtics.Collections.ObservableEnumerable.

Last edited Jan 4, 2009 at 1:05 PM by Throb, version 23


No comments yet.