DiogoNeves/DataSmasher — Issue #1: Serialise Delegates (or closures) instead of Job classes
Author: DiogoNeves
Created: 2012-01-23 12:18:08+00:00
State: open

Confirm this is required first but would be cool to do something like:
``` C#
SomeState state = new SomeState();

RemoteConsumer consumer = new RemoteConsumer();
consumer.JobFinished += (c, j) => {
Console.WriteLine("Job executed remotely returned {0}", state.ReturnVal);
}

consumer.Consume(() => {
Console.WriteLine("This is a serialised closure");
state.ReturnVal = 123;
});
```

That's just an example, might need better code ;)