Skip to content

Use <inheritdoc/> on base-class interface implementations#135

Merged
Chris-Wolfgang merged 1 commit into
mainfrom
chore/inheritdoc-base-classes
Apr 24, 2026
Merged

Use <inheritdoc/> on base-class interface implementations#135
Chris-Wolfgang merged 1 commit into
mainfrom
chore/inheritdoc-base-classes

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Summary

Replace 12 hand-duplicated XML doc blocks with /// <inheritdoc/> on interface implementations in the base classes. Documentation intent is unchanged — the interface declarations already carry the full <summary>, <param>, <returns>, and <exception> tags that the implementations were restating.

Changed methods (all virtual, all implement an interface method with existing docs):

File Methods
src/Wolfgang.Etl.Abstractions/ExtractorBase.cs 4 ExtractAsync overloads
src/Wolfgang.Etl.Abstractions/LoaderBase.cs 4 LoadAsync overloads
src/Wolfgang.Etl.Abstractions/TransformerBase.cs 4 TransformAsync overloads

SystemProgressTimer.cs already uses <inheritdoc/> — untouched.

Motivation

Hand-duplicated docs drift from the interface contract over time. <inheritdoc/> gives IntelliSense, DocFX, and Sandcastle a single source of truth: if the interface doc is updated, implementations automatically pick up the change.

Stats

  • 3 files changed, 12 insertions(+), 131 deletions(-)
  • No behavior change
  • 132/132 unit tests pass in Release on net10.0
  • 0 build warnings, 0 errors

Test plan

  • dotnet build -c Release -f net10.0 clean
  • dotnet test -c Release -f net10.0 — 132/132 pass
  • CI matrix builds across all TFMs

🤖 Generated with Claude Code

Replace 12 hand-duplicated XML doc blocks on ExtractorBase.ExtractAsync,
LoaderBase.LoadAsync, and TransformerBase.TransformAsync overloads with
/// <inheritdoc/>. Docs now have a single source of truth on the
interface declarations they implement.

No behavior change; all 132 unit tests still pass in Release on net10.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang merged commit 97bf0b8 into main Apr 24, 2026
9 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the chore/inheritdoc-base-classes branch April 24, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant