Rename sample project to reflect For activity demo

This commit is contained in:
Sipke Schoorstra 2020-10-18 17:10:48 +02:00
parent 7c8b4a1018
commit ad429dbee1
5 changed files with 3 additions and 17 deletions

View file

@ -90,7 +90,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "locking", "locking", "{7CD5
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YesSql.Provider.Sqlite.InMemory", "src\core\YesSql.Provider.Sqlite.InMemory\YesSql.Provider.Sqlite.InMemory.csproj", "{E2D63391-1986-45C8-A18F-4D58F3D71057}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Samples.ForEachConsole", "src\samples\Elsa.Samples.ForEachConsole\Elsa.Samples.ForEachConsole.csproj", "{F755FB1F-72FB-4F7B-8270-F5F40F4D6952}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Samples.ForLoopConsole", "src\samples\Elsa.Samples.ForLoopConsole\Elsa.Samples.ForLoopConsole.csproj", "{F755FB1F-72FB-4F7B-8270-F5F40F4D6952}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Samples.ReadLineEchoConsole", "src\samples\Elsa.Samples.ReadLineEchoConsole\Elsa.Samples.ReadLineEchoConsole.csproj", "{867CB845-B803-4D40-9360-3D11ADBD9CE9}"
EndProject

View file

@ -1,14 +0,0 @@
using System;
using Elsa.Builders;
using Elsa.Services.Models;
// ReSharper disable once CheckNamespace
namespace Elsa.Activities.Console
{
public static class WriteLineExtensions
{
public static WriteLine WithText(this WriteLine activity, string value) => activity.With(x => x.Text, value);
public static WriteLine WithText(this WriteLine activity, Func<ActivityExecutionContext, string> value) => activity.With(x => x.Text, value);
public static WriteLine WithText(this WriteLine activity, Func<string> value) => activity.With(x => x.Text, value);
}
}

View file

@ -3,7 +3,7 @@ using Elsa.Activities.Console;
using Elsa.Activities.ControlFlow;
using Elsa.Builders;
namespace Elsa.Samples.ForEachConsole
namespace Elsa.Samples.ForLoopConsole
{
/// <summary>
/// This workflow prompts the user to enter an integer start value, then iterates back from that value to 0.

View file

@ -2,7 +2,7 @@
using Elsa.Services;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Samples.ForEachConsole
namespace Elsa.Samples.ForLoopConsole
{
/// <summary>
/// Demonstrates a workflow with a For looping construct.