docs: fill missing XML docs and strip tracking IDs from src comments
Clears CommentChecker findings in src/ (3,280 -> 209, the remainder being false positives like PLC-5/IEEE-754/M0.0) by adding missing summaries/params/returns, normalising inheritdoc usage, and removing Gitea/review tracking IDs while keeping the rationale they annotated. Comment-only: comment-stripped sources are identical to the parent commit.
This commit is contained in:
@@ -20,8 +20,7 @@ namespace ZB.MOM.WW.OtOpcUa.Driver.MTConnect;
|
||||
/// URL, so this type parses its own minimal DTO — a config that is invalid for the driver (bad
|
||||
/// tag, bad data type) can still be reachability-tested, matching the AdminUI's "does the
|
||||
/// endpoint answer" intent for Test Connect. It also avoids a compile-time dependency on the
|
||||
/// factory DTO shape (<c>MTConnectDriverFactoryExtensions</c>), which is authored separately
|
||||
/// (Task 15).
|
||||
/// factory DTO shape (<c>MTConnectDriverFactoryExtensions</c>), which is authored separately.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <b>The minimal DTO is "everything in the URL", not "agentUri".</b> It reads
|
||||
@@ -50,7 +49,7 @@ namespace ZB.MOM.WW.OtOpcUa.Driver.MTConnect;
|
||||
/// lifts the Agent's own error text into the thrown exception's message; re-parsing by hand
|
||||
/// here would either duplicate that logic or under-validate (accepting any 200 response as
|
||||
/// healthy, which is precisely the "empty-but-successful" defect class this codebase has hit
|
||||
/// before, #485). The one-off cost of a full probe-document parse is negligible next to that
|
||||
/// before). The one-off cost of a full probe-document parse is negligible next to that
|
||||
/// risk.
|
||||
/// </para>
|
||||
/// <para>
|
||||
@@ -110,22 +109,22 @@ public sealed class MTConnectDriverProbe : IDriverProbe
|
||||
}
|
||||
|
||||
/// <summary>Test seam constructor — see <see cref="_handler"/>.</summary>
|
||||
/// <param name="handler">Stub handler for the agent client, or <see langword="null"/> for real sockets.</param>
|
||||
internal MTConnectDriverProbe(HttpMessageHandler? handler)
|
||||
{
|
||||
_handler = handler;
|
||||
}
|
||||
|
||||
// Sourced from the DriverTypeNames constant, not a literal — the probe is
|
||||
// looked up by AdminOperationsActor under this key, so a drift from the constant
|
||||
// silently disables the Test Connect button rather than failing anything at build time.
|
||||
/// <inheritdoc />
|
||||
/// <remarks>
|
||||
/// Sourced from the <see cref="DriverTypeNames"/> constant, not a literal — the probe is
|
||||
/// looked up by <c>AdminOperationsActor</c> under this key, so a drift from the constant
|
||||
/// silently disables the Test Connect button rather than failing anything at build time.
|
||||
/// </remarks>
|
||||
public string DriverType => DriverTypeNames.MTConnect;
|
||||
|
||||
/// <summary>Minimal probe-only config shape. Deliberately independent of the factory DTO — see the type remarks.</summary>
|
||||
private sealed class MTConnectProbeConfigDto
|
||||
{
|
||||
/// <summary>The MTConnect Agent base URI to probe.</summary>
|
||||
public string? AgentUri { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user