This pattern is helpful when you want to do something temporarily and then restore some state. This was inspired by the System.Disposable.Disposable() class defined in System.Core.dll distributed by the Reactive Extensions for .NET (Rx) library.
36 people like thisPosted: 13 years ago by Cesar Mendoza
An example of the composite pattern implemented simply with functions and object expressions
2 people like thisPosted: 10 years ago by Steve Goguen
A simple example of a decorator pattern using object expressions and the pipeline operator for a fluent interface
2 people like thisPosted: 10 years ago by Steve Goguen