Skip to content
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

Add DocumentationRemarks to the DocumentationMember #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smkanadl
Copy link
Contributor

This PR adds the DocumentationRemarks type which stores the content from XmlDocs <remarks /> section.

The behaviour of the emitted code is not changed:

  • DocumentationMember.GetDocumentationMember will return null if a member has only a ´` section but no other XmlDoc related data
  • The text content from the <remarks /> section is just stored in the DocumentationMember but not used in any provided code generator implementation.

However, when writing a custom code generator, the content of the <remarks /> section is now available.

This fixes #290.

… the <remarks /> section from the XmlDoc. Include tests which also document the need for a <summary /> or <inheritdoc /> section to access it via GetDocumentationMember(). This is mainly to keep backward compatibility with the currently emitted code. reinforced#290
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.

Include the <remarks /> from the XmlDoc into the DocumentationMember
1 participant