* Fix many things. Few more samples left to fix * Fix all the samples * Introduce service configurator * Implement cache signaling and refreshing workflow registry * Add Sample16 demonstrating dashboard + workflow host combined * Bugfix where non-published versions of worklows are triggered
16 lines
406 B
C#
16 lines
406 B
C#
using Elsa.Activities.Console.Activities;
|
|
using Elsa.Expressions;
|
|
using Elsa.Services;
|
|
using Elsa.Services.Models;
|
|
|
|
namespace Sample10
|
|
{
|
|
public class HelloWorldWorkflow : IWorkflow
|
|
{
|
|
public void Build(IWorkflowBuilder builder)
|
|
{
|
|
builder
|
|
.StartWith<WriteLine>(activity => activity.TextExpression = new LiteralExpression("Hello World!"));
|
|
}
|
|
}
|
|
} |