ApiReferenceContentService
classNamespace: MyLittleContentEngine.Services.Content
Content service for generating API reference documentation from .NET assemblies using Roslyn
Declaration
public class ApiReferenceContentService
Inheritance
object
→ ApiReferenceContentService
Implements
MyLittleContentEngine.Services.Content.IContentService
System.IDisposable
Methods
Dispose
methodpublic void Dispose()
Returns:
void
GetContentToCopyAsync
methodpublic Task<ImmutableList<ContentToCopy>> GetContentToCopyAsync()
Returns:
Task<ImmutableList<ContentToCopy>>
GetCrossReferencesAsync
methodpublic Task<ImmutableList<CrossReference>> GetCrossReferencesAsync()
Returns:
Task<ImmutableList<CrossReference>>
GetMembersAsync
methodpublic Task<ImmutableList<ApiMember>> GetMembersAsync()
Gets all API members for display purposes
Returns:
Task<ImmutableList<ApiMember>>
GetMembersByMicrosoftStyleIdAsync
methodpublic Task<ImmutableList<ApiMember>> GetMembersByMicrosoftStyleIdAsync(string microsoftStyleId)
Gets members by Microsoft-style identifier (can return multiple results for overloads)
Returns:
Task<ImmutableList<ApiMember>>
microsoftStyleId string |
GetNamespaceByMicrosoftStyleIdAsync
methodpublic Task<ApiNamespace?> GetNamespaceByMicrosoftStyleIdAsync(string microsoftStyleId)
Gets a specific namespace by Microsoft-style identifier
Returns:
Task<ApiNamespace?>
microsoftStyleId string |
GetNamespaceByNameAsync
methodpublic Task<ApiNamespace?> GetNamespaceByNameAsync(string name)
Gets a specific namespace by name
Returns:
Task<ApiNamespace?>
name string |
GetNamespaceByXmlDocIdAsync
methodpublic Task<ApiNamespace?> GetNamespaceByXmlDocIdAsync(string xmlDocId)
Gets a specific namespace by XML Doc ID
Returns:
Task<ApiNamespace?>
xmlDocId string |
GetNamespacesAsync
methodpublic Task<ImmutableList<ApiNamespace>> GetNamespacesAsync()
Gets all API namespaces for display purposes
Returns:
Task<ImmutableList<ApiNamespace>>
GetPagesToGenerateAsync
methodpublic Task<ImmutableList<PageToGenerate>> GetPagesToGenerateAsync()
Returns:
Task<ImmutableList<PageToGenerate>>
GetTocEntriesToGenerateAsync
methodpublic Task<ImmutableList<PageToGenerate>> GetTocEntriesToGenerateAsync()
Returns:
Task<ImmutableList<PageToGenerate>>
GetTypeByMicrosoftStyleIdAsync
methodpublic Task<ApiType?> GetTypeByMicrosoftStyleIdAsync(string microsoftStyleId)
Gets a specific type by Microsoft-style identifier
Returns:
Task<ApiType?>
microsoftStyleId string |
GetTypeByNameAsync
methodpublic Task<ApiType?> GetTypeByNameAsync(string namespaceName, string typeName)
Gets a specific type by namespace and name
Returns:
Task<ApiType?>
namespaceName string | |
typeName string |
GetTypeByXmlDocIdAsync
methodpublic Task<ApiType?> GetTypeByXmlDocIdAsync(string xmlDocId)
Gets a specific type by XML Doc ID
Returns:
Task<ApiType?>
xmlDocId string |
GetTypesAsync
methodpublic Task<ImmutableList<ApiType>> GetTypesAsync()
Gets all API types for display purposes
Returns:
Task<ImmutableList<ApiType>>