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:
@@ -121,7 +121,6 @@ internal sealed class SqlBrowseSession : IBrowseSession
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <exception cref="ArgumentException"><paramref name="nodeId"/> is not a SQL schema-browse node.</exception>
|
||||
public async Task<IReadOnlyList<BrowseNode>> ExpandAsync(string nodeId, CancellationToken cancellationToken)
|
||||
{
|
||||
ObjectDisposedException.ThrowIf(_disposed, this);
|
||||
@@ -142,7 +141,6 @@ internal sealed class SqlBrowseSession : IBrowseSession
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <exception cref="ArgumentException"><paramref name="nodeId"/> is not a SQL schema-browse node.</exception>
|
||||
public async Task<IReadOnlyList<AttributeInfo>> AttributesAsync(
|
||||
string nodeId, CancellationToken cancellationToken)
|
||||
{
|
||||
@@ -276,7 +274,7 @@ internal sealed class SqlBrowseSession : IBrowseSession
|
||||
|
||||
/// <summary>
|
||||
/// Picks the table's preferred <c>topByTimestamp</c> column — the one a browse-committed wide-row tag
|
||||
/// orders by to read the newest row (Gitea #552) — or <see langword="null"/> when the table carries no
|
||||
/// orders by to read the newest row — or <see langword="null"/> when the table carries no
|
||||
/// date/time column at all.
|
||||
/// </summary>
|
||||
/// <param name="columns">The table's columns, in the catalog order the dialect's column SQL returns.</param>
|
||||
|
||||
@@ -106,15 +106,13 @@ public sealed class SqlDriverBrowser : IDriverBrowser
|
||||
_logger = logger ?? NullLogger<SqlDriverBrowser>.Instance;
|
||||
}
|
||||
|
||||
// Sourced from the shared DriverTypeNames set, which is what the driver's own
|
||||
// SqlDriver.DriverTypeName resolves to. This used to read that interim local constant, and
|
||||
// the comment here said so; repointing it was deferred until a factory was registered against
|
||||
// DriverTypeNames.Sql (else DriverTypeNamesGuardTests goes red). One exists
|
||||
// now, and reading the shared constant is also what lets this browser stay off the runtime driver
|
||||
// — SqlDriver is the only type it still needed from there.
|
||||
/// <inheritdoc />
|
||||
/// <remarks>
|
||||
/// Sourced from the shared <see cref="DriverTypeNames"/> set, which is what the driver's own
|
||||
/// <c>SqlDriver.DriverTypeName</c> resolves to. This used to read that interim local constant, and
|
||||
/// the comment here said so; repointing it was deferred until a factory was registered against
|
||||
/// <see cref="DriverTypeNames.Sql"/> (else <c>DriverTypeNamesGuardTests</c> goes red). One exists
|
||||
/// now, and reading the shared constant is also what lets this browser stay off the runtime driver
|
||||
/// — <c>SqlDriver</c> is the only type it still needed from there (Gitea #526).
|
||||
/// </remarks>
|
||||
public string DriverType => DriverTypeNames.Sql;
|
||||
|
||||
/// <summary>The environment variable a <c>connectionStringRef</c> resolves through.</summary>
|
||||
@@ -142,12 +140,10 @@ public sealed class SqlDriverBrowser : IDriverBrowser
|
||||
_ => null,
|
||||
};
|
||||
|
||||
// The configuration is absent / malformed, names a provider this build does not carry, names neither
|
||||
// a connectionStringRef nor a literal, resolves a ref that is not set in the environment, or
|
||||
// the connection could not be opened.
|
||||
/// <inheritdoc />
|
||||
/// <exception cref="InvalidOperationException">
|
||||
/// The configuration is absent / malformed, names a provider this build does not carry, names neither
|
||||
/// a <c>connectionStringRef</c> nor a literal, resolves a ref that is not set in the environment, or
|
||||
/// the connection could not be opened.
|
||||
/// </exception>
|
||||
public async Task<IBrowseSession> OpenAsync(string configJson, CancellationToken cancellationToken)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(configJson))
|
||||
|
||||
Reference in New Issue
Block a user