You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #42 from danielgerlag/refineapi
* .Schedule() API, to future date a block of steps to run in parallel to the rest of the workflow.
This following example will execute the block of steps after 3 days
```c#
builder
.StartWith<HelloWorld>()
.Schedule(data => TimeSpan.FromDays(3)).Do(block =>
block.StartWith<DoSomething>()
.Then<DoSomethingElse>())
.Then<GoodbyeWorld>();
```
* Overload of the .Input() method to allow access to the context object
```c#
builder
.StartWith<SayHello>()
.ForEach(data => new List<int>() { 1, 2, 3, 4 })
.Do(x => x
.StartWith<DisplayContext>()
.Input(step => step.Item, (data, context) => context.Item)
.Then<DoSomething>())
.Then<SayGoodbye>();
```
```c#
builder
.StartWith(context => Console.WriteLine("Hello!"))
.Then(context => Console.WriteLine("Bye!"));
```
* Inline action steps API
```c#
builder
.StartWith(context => Console.WriteLine("Hello!"))
.Then(context => Console.WriteLine("Bye!"));
```
* Discontinued support for .NET 4.5.2 (.NET 4.6 is .NET Standard 1.3 compatible)
0 commit comments