docs(xml): fill missing XML doc comments + strip task-tracking refs across src (fixdocs)
Add missing <summary>/<param>/<returns>/<typeparam> tags and switch interface implementations to <inheritdoc/> across 106 files; strip project bookkeeping identifiers (Task NN, #05-TNN, PLAN-04, StoreAndForward-0NN) from shipped code comments while preserving the descriptive rationale. Comment-only: zero code-logic lines changed; solution builds 0/0. Claude-Session: https://claude.ai/code/session_01MtdgwpEeCUn6cUA5f1LMPj
This commit is contained in:
@@ -6,6 +6,12 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Services;
|
||||
public sealed class PollGate
|
||||
{
|
||||
private int _inFlight;
|
||||
|
||||
/// <summary>Attempts to enter the gate for a new poll tick.</summary>
|
||||
/// <returns><see langword="true"/> if no refresh is currently in flight and the caller
|
||||
/// may proceed; <see langword="false"/> if a previous refresh is still running.</returns>
|
||||
public bool TryEnter() => Interlocked.CompareExchange(ref _inFlight, 1, 0) == 0;
|
||||
|
||||
/// <summary>Releases the gate after a poll tick's refresh has completed.</summary>
|
||||
public void Exit() => Volatile.Write(ref _inFlight, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user