public void Build(IWorkflowBuilder builder) { builder.For( 0, _loopCount, iterate => iterate .Then <WriteLine>(activity => activity.Set(x => x.Text, context => $"Iteration {context.Input}")) .WithId("WriteLine")); }
public void Build(IWorkflowBuilder builder) { builder.For( 0, _loopCount, iterate => iterate .Then <WriteLine>(activity => activity.Set(x => x.Text, context => $"Iteration {context.Input}")) .WithId("WriteLine")); }