Skip to content

Conversation

@KubaZ2
Copy link
Member

@KubaZ2 KubaZ2 commented Sep 1, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Sep 1, 2025

The documentation preview is available at https://preview.netcord.dev/164.

KubaZ2 and others added 15 commits September 1, 2025 22:11
Updated the XML documentation for the `AddModules` method in the `IService` interface to specify that it scans for **public modules** in the provided assembly. This change improves clarity for developers without altering the method's functionality or behavior.
Added a summary comment to the `IApplicationCommandService` interface, describing it as the base interface for `ApplicationCommandService<TContext>`. This improves code readability and provides better context for developers using documentation tools like IntelliSense.
Updated XML documentation across `ApplicationCommandService.cs`,
`ComponentInteractionService.cs`, and `IComponentInteractionService.cs`
to improve clarity and maintainability.

- Used `<inheritdoc>` for parameter documentation in `ApplicationCommandService`.
- Added `<summary>`, `<typeparam>`, `<param>`, and `<returns>` tags
  to describe class purposes, methods, and properties in
  `ComponentInteractionService` and `IComponentInteractionService`.
- Enhanced developer experience with detailed descriptions of
  functionality and parameters.
@KubaZ2 KubaZ2 changed the title Add xml docs for NetCord.Services and NetCord.Hosting.Services Add xml docs for NetCord.Services Nov 5, 2025
@KubaZ2 KubaZ2 requested a review from Copilot November 5, 2025 22:58
@KubaZ2 KubaZ2 marked this pull request as ready for review November 5, 2025 22:58
Copy link
Contributor

Copilot AI left a 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 the NetCord.Services library, improving API discoverability and IntelliSense support. The changes include documentation for service interfaces, context classes, module base classes, and various command/interaction types.

Key changes:

  • Added XML documentation to all public interfaces and classes in the Services namespace
  • Changed several base module classes from public to public abstract to better reflect their intended usage
  • Reorganized property declarations in application command info classes to place Type property first
  • Added missing using directives for referenced types in documentation

Reviewed Changes

Copilot reviewed 40 out of 40 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
UserId.cs Added documentation for user ID class and its properties
IService.cs Added documentation for base service interface and assembly scanning method
IBaseModule.cs Added documentation for Context property in internal module interface
Context interfaces Added documentation for all context interfaces (IContext, IUserContext, IGuildContext, etc.)
ComponentInteractions/* Added documentation for component interaction services, modules, and contexts
Commands/* Added documentation for command services, modules, and contexts
ApplicationCommands/* Added documentation for application command services, modules, contexts, and builders
ApplicationCommandInfo.cs Moved Type property declaration before other properties
*CommandInfo.cs Moved Type property to appear before other properties for consistency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KubaZ2 KubaZ2 requested a review from Copilot November 5, 2025 23:25
Copy link
Contributor

Copilot AI left a 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 43 out of 43 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KubaZ2 KubaZ2 requested a review from Copilot November 5, 2025 23:51
Copy link
Contributor

Copilot AI left a 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 44 out of 44 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Updated XML documentation in `CommandBuilder.cs` and
`ComponentInteractionBuilder.cs` to simplify `<inheritdoc>`
tags for parameters. Replaced or adjusted references to
summary paths for `aliases` and `customId` parameters to
improve clarity and maintain consistency.
@KubaZ2 KubaZ2 merged commit b4e7151 into alpha Nov 6, 2025
1 check passed
@KubaZ2 KubaZ2 deleted the feature/services-xml-docs branch November 6, 2025 00:25
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.

2 participants