-
Notifications
You must be signed in to change notification settings - Fork 73
Chore/48 finish xml doc comments #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore/48 finish xml doc comments #58
Conversation
…ic and protected level access modifiers. Existing xml comments on private class items untouched.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive XML documentation comments to public and protected members across the F23.StringSimilarity library to support API documentation generation (issue #48). The PR focuses on adding summary tags to classes, constructors, methods, properties, and interfaces without modifying any code logic.
Changes:
- Added XML summary and remarks tags to all public classes and interfaces
- Added parameter and return value documentation to public methods
- Added exception documentation where applicable
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| WeightedLevenshtein.cs | Added class-level summary documentation |
| ArrayExtensions.cs | Added class summary, remarks, and method documentation for internal extension class |
| SorensenDice.cs | Added class-level summary documentation |
| ShingleBased.cs | Added class summary, constructor documentation, and detailed GetProfile method documentation |
| QGram.cs | Added class-level summary documentation |
| OptimalStringAlignment.cs | Added comprehensive class summary, remarks, and method documentation |
| NormalizedLevenshtein.cs | Added class summary and method documentation for Distance and Similarity overloads |
| NGram.cs | Added constructor documentation |
| MetricLCS.cs | Added detailed Distance method documentation with return value descriptions |
| LongestCommonSubsequence.cs | Added class summary and Distance method documentation |
| Levenshtein.cs | Added class summary and comprehensive method documentation for Distance overloads |
| JaroWinkler.cs | Added class summary and method documentation for Similarity and Distance methods |
| IStringSimilarity.cs | Added interface-level summary documentation |
| IStringDistance.cs | Added interface-level summary documentation |
| ISpanSimilarity.cs | Added interface-level summary documentation |
| ISpanDistance.cs | Added interface-level summary documentation |
| INormalizedStringSimilarity.cs | Added interface-level summary documentation |
| INormalizedStringDistance.cs | Added interface-level summary documentation |
| INormalizedSpanSimilarity.cs | Added comprehensive interface summary with remarks |
| INormalizedSpanDistance.cs | Added interface-level summary documentation |
| ICharacterSubstitution.cs | Added interface-level summary documentation |
| Damerau.cs | Added comprehensive Distance method documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 14 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| namespace F23.StringSimilarity.Interfaces | ||
| { | ||
| /// <summary> | ||
| /// Interface for string distance algorithms |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The interface documentation lacks proper punctuation. The summary should end with a period: "Interface for string distance algorithms."
| /// Interface for string distance algorithms | |
| /// Interface for string distance algorithms. |
| namespace F23.StringSimilarity.Interfaces | ||
| { | ||
| /// <summary> | ||
| /// Interface for string similarity algorithms |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The interface documentation lacks proper punctuation. The summary should end with a period: "Interface for string similarity algorithms."
| /// Interface for string similarity algorithms | |
| /// Interface for string similarity algorithms. |
| namespace F23.StringSimilarity.Interfaces | ||
| { | ||
| /// <summary> | ||
| /// Interface for span similarity algorithms |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The interface documentation lacks proper punctuation. The summary should end with a period: "Interface for span similarity algorithms."
| /// Interface for span similarity algorithms | |
| /// Interface for span similarity algorithms. |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
@Jim-Johnson-Programmer Thanks for the contribution! |
QUICK SUMMARY (TL;DR):
#48 XML comments add to repository
PR SOLUTION APPROACH:
Added tags for all classes, constructors, methods, properties, properties, and class variables with public or protected scope. Created extra branch for setup of docfx tool running successfully for next pr, pending approval this one. Existing private members with xml comment tags did not seem to appear in api generated documentation. Therefore skipped further updating xml comment tags of private members.
Will check daily for responses and respond within few hours for any concerns or clarifications.