Represents the structured documentation data for code members, including summary, parameters, remarks, and examples.
public class CodeDocumentationTags
CodeSummary: Gets or sets code usage examples.
ExampleSummary: Gets or sets code examples demonstrating usage.
ExceptionsSummary: Gets or sets the exception descriptions, mapped by exception type.
ParametersSummary: Gets or sets the parameter descriptions, mapped by parameter name.
RemarkSummary: Gets or sets additional remarks about the code member.
ReturnSummary: Gets or sets the description of the return value.
SummarySummary: Gets or sets the summary description of the code member.
string ToString()
Generates formatted XML documentation comment tags from structured code documentation data.
public class CodeDocumentationTagsGenerator : ICodeDocumentationTagsGenerator
string GenerateTags(ushort indentSpaces, CodeDocumentationTags codeDocumentationTags)
bool ShouldGenerateTags(CodeDocumentationTags codeDocumentationTags)
Defines methods for generating XML documentation comment tags from structured documentation data.
public interface ICodeDocumentationTagsGenerator
string GenerateTags(ushort indentSpaces, CodeDocumentationTags codeDocumentationTags)Summary: Generates formatted XML documentation comment tags from the specified documentation data.
Parameters:
indentSpaces- The number of spaces to use for indentation.
codeDocumentationTags- The code documentation tags to generate.Returns: A string containing the formatted XML documentation comment tags.
bool ShouldGenerateTags(CodeDocumentationTags codeDocumentationTags)Summary: Determines whether XML documentation tags should be generated for the specified documentation.
Parameters:
codeDocumentationTags- The code documentation tags to evaluate.Returns: if tags should be generated; otherwise, .