Skip to content

Commit f4a3bd9

Browse files
committed
docs
1 parent 92c4ca6 commit f4a3bd9

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

ReleaseNotes/1.2.8.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Workflow Core 1.2.8
22

3-
* Added .Schedule() API, to future date a block of steps to run in parallel to the rest of the workflow.
3+
* .Schedule() API, to future date a block of steps to run in parallel to the rest of the workflow.
44

55
This following example will execute the block of steps after 3 days
66
```c#
@@ -12,7 +12,27 @@ builder
1212
.Then<GoodbyeWorld>();
1313
```
1414

15-
* Added inline action steps API
15+
* Overload of the .Input() method to allow access to the context object
16+
17+
```c#
18+
builder
19+
.StartWith<SayHello>()
20+
.ForEach(data => new List<int>() { 1, 2, 3, 4 })
21+
.Do(x => x
22+
.StartWith<DisplayContext>()
23+
.Input(step => step.Item, (data, context) => context.Item)
24+
.Then<DoSomething>())
25+
.Then<SayGoodbye>();
26+
```
27+
28+
```c#
29+
builder
30+
.StartWith(context => Console.WriteLine("Hello!"))
31+
.Then(context => Console.WriteLine("Bye!"));
32+
```
33+
34+
35+
* Inline action steps API
1636

1737
```c#
1838
builder

WorkflowCore.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ EndProject
8989
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkflowCore.Providers.Azure", "src\providers\WorkflowCore.Providers.Azure\WorkflowCore.Providers.Azure.csproj", "{A2374B7C-4198-40B3-B8FE-FAC3DB3F2539}"
9090
EndProject
9191
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReleaseNotes", "ReleaseNotes", "{38ECB00C-3F3B-4442-8408-ACE3B37FFAA8}"
92+
ProjectSection(SolutionItems) = preProject
93+
ReleaseNotes\1.2.8.md = ReleaseNotes\1.2.8.md
94+
EndProjectSection
9295
EndProject
9396
Global
9497
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)