docs(src): fix CommentChecker findings across src/ — 1,032 → 5 (all false positives)
Comment/XML-doc changes only, no code logic: - strip project-tracking references (WP*, P*-*, row-NN, #NN, Task N) from comments, keeping the explanatory rationale - add missing summaries, <param>, <returns>, <typeparam> and <inheritdoc/> - replace misused <inheritdoc/> with real docs; where <inheritdoc/> was combined with useful remarks, move the rationale into // comments - drop stale replicationActor <param> on DeploymentManagerActor ctor Remaining 5 are false positives (CWE-1236 x2, failures-1, year-0001, M365). Build 0 errors / 0 warnings.
This commit is contained in:
@@ -12,6 +12,13 @@ internal sealed class KpiSourceAdmission
|
||||
private readonly object _gate = new();
|
||||
private readonly Dictionary<int, Task<IReadOnlyList<KpiSample>>> _tasks = new();
|
||||
|
||||
/// <summary>
|
||||
/// Starts a collection for the given registration unless an earlier one is still running, in which case the running one is returned.
|
||||
/// </summary>
|
||||
/// <param name="registrationIndex">Stable index of the source registration.</param>
|
||||
/// <param name="collect">Delegate that performs the collection when a new one is started.</param>
|
||||
/// <param name="collection">The new collection task, or the still-running earlier one.</param>
|
||||
/// <returns><see langword="true"/> if a new collection was started; <see langword="false"/> if an earlier one is still running.</returns>
|
||||
internal bool TryStart(
|
||||
int registrationIndex,
|
||||
Func<Task<IReadOnlyList<KpiSample>>> collect,
|
||||
|
||||
Reference in New Issue
Block a user