public static class AtcCodeDocumentationAssemblyTypeInitializer
Provides constant values used throughout the code documentation system.
public static class Constants
string UndefinedDescriptionSummary: The default text used when a description is not defined or cannot be found in the XML documentation.
Provides public API methods for collecting and analyzing XML documentation comments from assemblies and types.
public static class DocumentationHelper
TypeComments CollectExportedTypeWithCommentsFromType(Type type)Summary: Collects XML documentation comments for a specific type from its assembly.
Parameters:
type- The type to collect documentation for.Returns: The type comments, or if the type was not found.
TypeComments CollectExportedTypeWithCommentsFromType(Type type, FileInfo xmlDocPath)Summary: Collects XML documentation comments for a specific type from its assembly.
Parameters:
type- The type to collect documentation for.Returns: The type comments, or if the type was not found.
TypeComments[] CollectExportedTypesWithMissingCommentsFromAssembly(Assembly assembly, List<Type> excludeTypes = null)Summary: Collects all public types from an assembly that are missing XML documentation comments.
Parameters:
assembly- The assembly to scan for types.
excludeTypes- Optional list of types to exclude from the results.Returns: An array of type comments for types missing documentation.
TypeComments[] CollectExportedTypesWithMissingCommentsFromAssembly(Assembly assembly, FileInfo xmlDocPath, List<Type> excludeTypes = null)Summary: Collects all public types from an assembly that are missing XML documentation comments.
Parameters:
assembly- The assembly to scan for types.
excludeTypes- Optional list of types to exclude from the results.Returns: An array of type comments for types missing documentation.
string CollectExportedTypesWithMissingCommentsFromAssemblyAndGenerateText(Assembly assembly, List<Type> excludeTypes = null, bool useFullName = False)Summary: Collects all public types from an assembly that are missing XML documentation and generates a formatted text report.
Parameters:
assembly- The assembly to scan for types.
excludeTypes- Optional list of types to exclude from the results.
useFullName- If , uses fully qualified type names in the output; otherwise uses simple names.Returns: A string containing one type name per line for all types missing documentation.
string[] CollectExportedTypesWithMissingCommentsFromAssemblyAndGenerateTextLines(Assembly assembly, List<Type> excludeTypes = null, bool useFullName = False)Summary: Collects all public types from an assembly that are missing XML documentation and generates an array of type names.
Parameters:
assembly- The assembly to scan for types.
excludeTypes- Optional list of types to exclude from the results.
useFullName- If , uses fully qualified type names in the output; otherwise uses simple names.Returns: An array of type name strings, one per type missing documentation.
Represents the different types of members that can be documented in XML documentation comments. Each value corresponds to the member type prefix used in XML documentation names.
public enum MemberType
| Value | Name | Description | Summary |
|---|---|---|---|
| 0 | None | None | Represents no member type. |
| 69 | Event | Event | Represents an event member (E: prefix in XML documentation). |
| 70 | Field | Field | Represents a field member (F: prefix in XML documentation). |
| 77 | Method | Method | Represents a method member (M: prefix in XML documentation). |
| 80 | Property | Property | Represents a property member (P: prefix in XML documentation). |
| 84 | Type | Type | Represents a type member such as a class, struct, interface, or enum (T: prefix in XML documentation). |
Represents a type along with its associated XML documentation comments and member information.
public class TypeComments
BeautifyHtmlNameSummary: Gets the HTML-formatted beautified name of the type.
CommentLookupSummary: Gets the lookup table mapping class names to their XML documentation comments.
FullNameSummary: Gets the fully qualified name of the type.
HasCommentsSummary: Gets a value indicating whether this type has XML documentation comments.
NameSummary: Gets the simple name of the type.
NamespaceSummary: Gets the namespace of the type.
TypeSummary: Gets the
System.Typebeing documented.
XmlDocumentComment[] GetXmlDocumentComments()Summary: Retrieves all XML documentation comments associated with this type.
Returns: An array of XML documentation comments, or if no comments exist.
string ToString()