Skip to content

Commit b33b86c

Browse files
committed
Fixed indentation to match previous code
1 parent d9f0237 commit b33b86c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/samples/WorkflowCore.Sample03/PassingDataWorkflow2.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ public void Build(IWorkflowBuilder<Dictionary<string, int>> builder)
1717
return ExecutionResult.Next();
1818
})
1919
.Then<AddNumbers>()
20-
.Input(step => step.Input1, data => data["Value1"])
21-
.Input(step => step.Input2, data => data["Value2"])
22-
.Output(data => data["Value3"], step => step.Output)
20+
.Input(step => step.Input1, data => data["Value1"])
21+
.Input(step => step.Input2, data => data["Value2"])
22+
.Output(data => data["Value3"], step => step.Output)
2323
.Then<CustomMessage>()
24-
.Name("Print custom message")
25-
.Input(step => step.Message, data => "The answer is " + data["Value3"].ToString())
24+
.Name("Print custom message")
25+
.Input(step => step.Message, data => "The answer is " + data["Value3"].ToString())
2626
.Then(context =>
27-
{
28-
Console.WriteLine("Workflow complete");
29-
return ExecutionResult.Next();
30-
});
27+
{
28+
Console.WriteLine("Workflow complete");
29+
return ExecutionResult.Next();
30+
});
3131
}
3232

3333
public string Id => "PassingDataWorkflow2";

0 commit comments

Comments
 (0)