From 41d5c6ea474983ba965cc33f9ac906df5875a60f Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Tue, 3 Mar 2026 19:50:16 -0800 Subject: [PATCH] Fix typo PaymentProcesser -> PaymentProcessor and garbled arrows in README Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../ConsoleApps/03_ConditionalEdges/NotifyFraud.cs | 2 +- .../ConsoleApps/03_ConditionalEdges/Program.cs | 2 +- .../ConsoleApps/03_ConditionalEdges/README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/NotifyFraud.cs b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/NotifyFraud.cs index cf1bed55d5..d22ac39e68 100644 --- a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/NotifyFraud.cs +++ b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/NotifyFraud.cs @@ -52,7 +52,7 @@ internal sealed class OrderEnrich() : Executor("EnrichOrder") } } -internal sealed class PaymentProcesser() : Executor("PaymentProcesser") +internal sealed class PaymentProcessor() : Executor("PaymentProcessor") { public override async ValueTask HandleAsync(Order message, IWorkflowContext context, CancellationToken cancellationToken = default) { diff --git a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/Program.cs b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/Program.cs index 4089d1bc4c..b7f9ff9944 100644 --- a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/Program.cs +++ b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/Program.cs @@ -21,7 +21,7 @@ string dtsConnectionString = Environment.GetEnvironmentVariable("DURABLE_TASK_SC // Create executor instances OrderIdParser orderParser = new(); OrderEnrich orderEnrich = new(); -PaymentProcesser paymentProcessor = new(); +PaymentProcessor paymentProcessor = new(); NotifyFraud notifyFraud = new(); // Build workflow with conditional edges diff --git a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/README.md b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/README.md index 6074e8c7f8..fb8c26bf80 100644 --- a/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/README.md +++ b/dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/README.md @@ -55,8 +55,8 @@ internal static class OrderRouteConditions ### Routing Logic In this sample, the routing is based on the order ID: -- Order IDs containing the letter **'B'** are associated with blocked customers ? routed to `NotifyFraud` -- All other order IDs are associated with valid customers ? routed to `PaymentProcessor` +- Order IDs containing the letter **'B'** are associated with blocked customers → routed to `NotifyFraud` +- All other order IDs are associated with valid customers → routed to `PaymentProcessor` ## Environment Setup