We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b495a87 commit 6897cceCopy full SHA for 6897cce
samples/AzureFunctionsApp/APPROVAL_README.md
src/Generators/DurableTaskSourceGenerator.cs
@@ -358,15 +358,11 @@ public static class GeneratedDurableTaskExtensions
358
else
359
{
360
// ASP.NET Core-specific service registration methods
361
- // Only generate if there are actually tasks to register
362
- if (orchestrators.Count > 0 || activities.Count > 0 || entities.Count > 0)
363
- {
364
- AddRegistrationMethodForAllTasks(
365
- sourceBuilder,
366
- orchestrators,
367
- activities,
368
- entities);
369
- }
+ AddRegistrationMethodForAllTasks(
+ sourceBuilder,
+ orchestrators,
+ activities,
+ entities);
370
}
371
372
sourceBuilder.AppendLine(" }").AppendLine("}");
0 commit comments