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