Skip to content

Commit

Permalink
Solve code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
berndbr committed Jun 25, 2024
1 parent 526b863 commit 39cde19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void Publish(Message message)
}

_ = Task.WhenAll(subscriptionsToRun.Select(t => t()))
.ContinueWith(_ => _log.LogTrace("Finished invoking {0} handlers.", subscriptionsToRun.Count));
.ContinueWith(_ => _log.LogTrace("Finished invoking {subscriptionCount} handlers.", subscriptionsToRun.Count));

Check warning on line 129 in src/Messaging/SAF.Messaging.InProcess/InProcessMessaging.cs

View workflow job for this annotation

GitHub Actions / build_test_pack

Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
}

public void Unsubscribe(object subscription)
Expand Down

0 comments on commit 39cde19

Please sign in to comment.