This is the full API documentation of DefaultDocumentation.
- IGeneralContextExtensions
ClassProvides extension methods on the IGeneralContext type.- GetContext(this IGeneralContext, DocItem)
MethodGets the specific IContext for the given DocItem kind. - GetSetting<T>(this IGeneralContext, DocItem, Func<IContext,T>)
MethodGets a data from the specific IContext of the provided DocItem if it exists, else from the IGeneralContext. - GetSetting<T>(this IGeneralContext, Type, Func<IContext,T>)
MethodGets a data from the specific IContext of the provided System.Type if it exists, else from the IGeneralContext.
- GetContext(this IGeneralContext, DocItem)
- IPageContextExtensions
ClassProvides extension methods on the IPageContext type.- GetUrl(this IPageContext, DocItem)
MethodGets the url of the given DocItem in a specific page. - GetUrl(this IPageContext, string)
MethodGets the url of the given id in a specific page.
- GetUrl(this IPageContext, DocItem)
- IContext
InterfaceExposes settings used to generate documentation for a given DocItem type.- FileNameFactory
PropertyGets the IFileNameFactory to use to generate a file for a documentation page. - Sections
PropertyGets the ISection to use to generate a documentation page. - GetSetting<T>(string)
MethodGets a T setting with the given name.
- FileNameFactory
- IDocItemsContext
InterfaceExposes properties and methods used to impact the DocItem that will be generated, used by IDocItemGenerator- Items
PropertyGets all the DocItem known by this documentation generation context. - ItemsWithOwnPage
PropertyGets all the DocItem that should generate their own documentation page. - Settings
PropertyGets the ISettings of this documentation generation context. - GetSetting<T>(string)
MethodGets a T setting with the given name. - GetSetting<T>(Type, string)
MethodGets a T setting with the given name for the given DocItemSystem.Type.
- Items
- IGeneralContext
InterfaceExposes settings used to generate documentation.- Elements
PropertyGets the IElement used to render specific System.Xml.Linq.XElement from the documentation. - Items
PropertyGets all the DocItem known by this documentation generation context. - ItemsWithOwnPage
PropertyGets all the DocItem that should generate their own documentation page. - Settings
PropertyGets the ISettings of this documentation generation context. - UrlFactories
PropertyGets the IUrlFactory used to create the documentation urls. - GetContext(Type)
MethodGets the specific IContext for the given DocItemSystem.Type. - GetFileName(DocItem)
MethodGets the file name for the given DocItem.
- Elements
- IPageContext
InterfaceExposes settings used to generate documentation for a specific DocItem.- DocItem
PropertyGets the DocItem for which the documentation is being generated. - this[string]
PropertyGets or sets extra data for the current DocItem documentation generation.
- DocItem
- ISettings
InterfaceExposes all the settings of the documentation generation process.- AssemblyFile
PropertyGets the assembly file for which the documentation is being generated. - AssemblyPageName
PropertyGets the name of the assembly page name. - DocumentationFile
PropertyGets the xml documentation file of the AssemblyFile. - ExternLinksFiles
PropertyGets the links files of external items which are not part of the dotnet api. - GeneratedAccessModifiers
PropertyGets the GeneratedAccessModifiers flags stating which access modifiers should have their documentation generated. - GeneratedPages
PropertyGets the GeneratedPages flags stating which kind should have their own page and which should be inlined. - IncludeUndocumentedItems
PropertyGets wether item with no xml documentation should have their documentation generated or not. - LinksBaseUrl
PropertyGets the base url to prefix item url with when generating the links output file. - LinksOutputFile
PropertyGets the file name where all the url of the generated documentation should be writen to, to be used for referencing documentation generation. - Logger
PropertyGets the Microsoft.Extensions.Logging.ILogger of the process. - OutputDirectory
PropertyGets the output directory where the documentation is being generated. - ProjectDirectory
PropertyGets the root project directory where the sources of the AssemblyFile are.
- AssemblyFile
- GeneratedAccessModifiers
EnumSpecifies a combination of access modifiers.- Api
FieldGenerates documentation for 'public', 'protected' and 'protected internal' access modifier. - Default
FieldGenerates documentation for all access modifiers. - Internal
FieldGenerates documentation for 'internal' access modifier. - Private
FieldGenerates documentation for 'private' access modifier. - PrivateProtected
FieldGenerates documentation for 'private protected' access modifier. - Protected
FieldGenerates documentation for 'protected' access modifier. - ProtectedInternal
FieldGenerates documentation for 'protected internal' access modifier. - Public
FieldGenerates documentation for 'public' access modifier.
- Api
- GeneratedPages
EnumSpecifies a combination of page kinds.- Assembly
FieldGenerates documentation page for the assembly. - Classes
FieldGenerates documentation pages for the classes. - Constructors
FieldGenerates documentation pages for the constructors. - Default
FieldGenerates all documentation page kinds. - Delegates
FieldGenerates documentation pages for the delegates. - Enums
FieldGenerates documentation pages for the enums. - Events
FieldGenerates documentation pages for the events. - ExplicitInterfaceImplementations
FieldGenerates documentation pages for the explicit interface implementations. - Fields
FieldGenerates documentation pages for the fields. - Interfaces
FieldGenerates documentation pages for the interfaces. - Members
FieldGenerates documentation pages for all member kinds (constructor, event, field, method, operator, property, explicit interface implementation). - Methods
FieldGenerates documentation pages for the methods. - Namespaces
FieldGenerates documentation pages for the namespaces. - Operators
FieldGenerates documentation pages for the operators. - Properties
FieldGenerates documentation pages for the properties. - Structs
FieldGenerates documentation pages for the structs. - Types
FieldGenerates documentation pages for all type kinds (class, delegate, enum, struct, interface).
- Assembly
The DefaultDocumentation.Api namespace contains interfaces that can be used to add custom features to the documentation generation.
- IWriterExtensions
ClassProvides extension methods on the IWriter type.- Append(this IWriter, XElement)
MethodAppends an System.Xml.Linq.XElement to a IWriter by using the Elements of Context. If no IElement is found, the System.Xml.Linq.XElement is appended as text directly. - AppendFormat(this IWriter, string, object[])
MethodAppends a formatted string to a IWriter. - AppendLine(this IWriter, string)
MethodAppends a line after writing the provided System.String. - TrimEnd(this IWriter, string[])
MethodTrims from the end of a IWriter all the provided values.
- Append(this IWriter, XElement)
- IDocItemGenerator
InterfaceExposes a method to generate the known DocItem of the documentation.- Name
PropertyGets the name of the generator, used to identify it at the configuration level. - Generate(IDocItemsContext)
MethodModified the known DocItem of the IDocItemsContext.
- Name
- IElement
InterfaceExposes a method to handle a specific kind of System.Xml.Linq.XElement when writing documentation.- Name
PropertyGets the name of the System.Xml.Linq.XElement this type handle. - Write(IWriter, XElement)
MethodWrites to a IWriter the provided System.Xml.Linq.XElement.
- Name
- IFileNameFactory
InterfaceExposes methods related to the documentation files cleaning and creation.- Name
PropertyGets the name of the factory, used to identify it at the configuration level. - Clean(IGeneralContext)
MethodCleans the OutputDirectory of the previously generated documentation files. - GetFileName(IGeneralContext, DocItem)
MethodGets the documentation file name for the given DocItem.
- Name
- ISection
InterfaceExposes a method to write a specific section when writing documentation.- Name
PropertyGets the name of the section, used to identify it at the configuration level. - Write(IWriter)
MethodWrites the section to a given IWriter.
- Name
- IUrlFactory
InterfaceExposes methods related to the documentation files url creation.- Name
PropertyGets the name of the factory, used to identify it at the configuration level. - GetUrl(IPageContext, string)
MethodGets the url of the given id. Returns null of the instance does not know how to handle the provided id.
- Name
- IWriter
InterfaceExposes properties and methods use to generate a documentation file for a specific DocItem.- Context
PropertyGets the IPageContext of the current documentation generation process. - Length
PropertyGets or sets the length of the documentation text currently produced. - Append(string)
MethodAppends a string at the end of the documentation text. - AppendLine()
MethodAppends a System.Environment.NewLine at the end of the documentation text. - EndsWith(string)
MethodReturns whether the documentation text ends with the given string.
- Context
- AssemblyDocItem
ClassRepresents an assembly documentation.- AssemblyDocItem(string, string, XElement)
ConstructorInitialize a new instance of the AssemblyDocItem type.
- AssemblyDocItem(string, string, XElement)
- DocItem
ClassRepresent a documentation item.- DocItem(DocItem, string, string, string, XElement)
ConstructorInitialize a new instance of the DocItem type. - Documentation
PropertyGets the xml documentation node of the current instance. - FullName
PropertyGets the full name of the current instance. - Id
PropertyGets the id of the current instance. - Name
PropertyGets the name of the current instance. - Parent
PropertyGets the DocItem parent of the current instance (for members it is their declaring type, for types it is their namespace, ...).
- DocItem(DocItem, string, string, string, XElement)
- DocItemExtensions
ClassProvides extension methods on the DocItem type.- GetParents(this DocItem)
MethodReturns all the parents of the given DocItem. - TryGetParameterDocItem(this DocItem, string, ParameterDocItem)
MethodSearchs recursively on the given DocItem parent a ParameterDocItem with the provided name. - TryGetTypeParameterDocItem(this DocItem, string, TypeParameterDocItem)
MethodSearchs recursively on the given DocItem parent a TypeParameterDocItem with the provided name.
- GetParents(this DocItem)
- EntityDocItem
ClassRepresent an IEntity documentation. - ExternDocItem
ClassRepresent an external documentation.- ExternDocItem(string, string, string)
ConstructorInitialize a new instance of the ExternDocItem type. - Url
PropertyGets the url of the current instance.
- ExternDocItem(string, string, string)
- NamespaceDocItem
ClassRepresents a namespace documentation.- NamespaceDocItem(AssemblyDocItem, string, XElement)
ConstructorInitialize a new instance of the NamespaceDocItem type.
- NamespaceDocItem(AssemblyDocItem, string, XElement)
- IParameterizedDocItem
InterfaceExposes ParameterDocItem instances.- Parameters
PropertyGets the ParameterDocItem of this instance.
- Parameters
- ITypeParameterizedDocItem
InterfaceExposes TypeParameterDocItem instances.- TypeParameters
PropertyGets the TypeParameterDocItem of this instance.
- TypeParameters
- ConstructorDocItem
ClassRepresents a constructor IMethod documentation.- ConstructorDocItem(TypeDocItem, IMethod, XElement)
ConstructorInitialize a new instance of the ConstructorDocItem type. - Method
PropertyGets the IMethod of the current instance. - Parameters
PropertyGets the ParameterDocItem of this instance.
- ConstructorDocItem(TypeDocItem, IMethod, XElement)
- EnumFieldDocItem
ClassRepresents an enum IField documentation.- EnumFieldDocItem(EnumDocItem, IField, XElement)
ConstructorInitialize a new instance of the EnumFieldDocItem type. - Field
PropertyGets the IField of the current instance.
- EnumFieldDocItem(EnumDocItem, IField, XElement)
- EventDocItem
ClassRepresents an IEvent documentation.- EventDocItem(TypeDocItem, IEvent, XElement)
ConstructorInitialize a new instance of the EventDocItem type. - Event
PropertyGets the IEvent of the current instance.
- EventDocItem(TypeDocItem, IEvent, XElement)
- ExplicitInterfaceImplementationDocItem
ClassRepresents an explicit interface implementation documentation.- ExplicitInterfaceImplementationDocItem(TypeDocItem, IEvent, XElement)
ConstructorInitialize a new instance of the ExplicitInterfaceImplementationDocItem type. - ExplicitInterfaceImplementationDocItem(TypeDocItem, IMethod, XElement)
ConstructorInitialize a new instance of the ExplicitInterfaceImplementationDocItem type. - ExplicitInterfaceImplementationDocItem(TypeDocItem, IProperty, XElement)
ConstructorInitialize a new instance of the ExplicitInterfaceImplementationDocItem type. - Member
PropertyGets the IMember of the current instance. It can either be an IEvent, IProperty or IMethod. - Parameters
PropertyGets the ParameterDocItem of this instance. - TypeParameters
PropertyGets the TypeParameterDocItem of this instance.
- ExplicitInterfaceImplementationDocItem(TypeDocItem, IEvent, XElement)
- FieldDocItem
ClassRepresents an IField documentation.- FieldDocItem(TypeDocItem, IField, XElement)
ConstructorInitialize a new instance of the FieldDocItem type. - Field
PropertyGets the IField of the current instance.
- FieldDocItem(TypeDocItem, IField, XElement)
- MethodDocItem
ClassRepresents an IMethod documentation.- MethodDocItem(TypeDocItem, IMethod, XElement)
ConstructorInitialize a new instance of the MethodDocItem type. - Method
PropertyGets the IMethod of the current instance. - Parameters
PropertyGets the ParameterDocItem of this instance. - TypeParameters
PropertyGets the TypeParameterDocItem of this instance.
- MethodDocItem(TypeDocItem, IMethod, XElement)
- OperatorDocItem
ClassRepresents an operator IMethod documentation.- OperatorDocItem(TypeDocItem, IMethod, XElement)
ConstructorInitialize a new instance of the OperatorDocItem type. - Method
PropertyGets the IMethod of the current instance. - Parameters
PropertyGets the ParameterDocItem of this instance.
- OperatorDocItem(TypeDocItem, IMethod, XElement)
- PropertyDocItem
ClassRepresents an IProperty documentation.- PropertyDocItem(TypeDocItem, IProperty, XElement)
ConstructorInitialize a new instance of the PropertyDocItem type. - Parameters
PropertyGets the ParameterDocItem of this instance. - Property
PropertyGets the IProperty of the current instance.
- PropertyDocItem(TypeDocItem, IProperty, XElement)
- ParameterDocItem
ClassRepresents an IParameter documentation.- Parameter
PropertyGets the IParameter of the current instance.
- Parameter
- TypeParameterDocItem
ClassRepresents an ITypeParameter documentation.- TypeParameter
PropertyGets the ITypeParameter of the current instance.
- TypeParameter
- ClassDocItem
ClassRepresents a ITypeDefinition of the TypeKind.Class kind documentation.- ClassDocItem(DocItem, ITypeDefinition, XElement)
ConstructorInitialize a new instance of the ClassDocItem type.
- ClassDocItem(DocItem, ITypeDefinition, XElement)
- DelegateDocItem
ClassRepresents a ITypeDefinition of the TypeKind.Delegate kind documentation.- DelegateDocItem(DocItem, ITypeDefinition, XElement)
ConstructorInitialize a new instance of the StructDocItem type. - InvokeMethod
PropertyGets the IMethod of the current instance. - Parameters
PropertyGets the ParameterDocItem of this instance.
- DelegateDocItem(DocItem, ITypeDefinition, XElement)
- EnumDocItem
ClassRepresents a ITypeDefinition of the TypeKind.Enum kind documentation.- EnumDocItem(DocItem, ITypeDefinition, XElement)
ConstructorInitialize a new instance of the StructDocItem type.
- EnumDocItem(DocItem, ITypeDefinition, XElement)
- InterfaceDocItem
ClassRepresents a ITypeDefinition of the TypeKind.Interface kind documentation.- InterfaceDocItem(DocItem, ITypeDefinition, XElement)
ConstructorInitialize a new instance of the StructDocItem type.
- InterfaceDocItem(DocItem, ITypeDefinition, XElement)
- StructDocItem
ClassRepresents a ITypeDefinition of the TypeKind.Struct kind documentation.- StructDocItem(DocItem, ITypeDefinition, XElement)
ConstructorInitialize a new instance of the StructDocItem type.
- StructDocItem(DocItem, ITypeDefinition, XElement)
- TypeDocItem
ClassRepresents a ITypeDefinition documentation.- Type
PropertyGets the ITypeDefinition of the current instance. - TypeParameters
PropertyGets the TypeParameterDocItem of this instance.
- Type
- IEntityExtensions
ClassProvides extension methods on the IEntity type.- IsVisibleInDocumentation(this IEntity, ISettings)
MethodReturns wether an IEntity should be part of the documentation or not based on its accessibility.
- IsVisibleInDocumentation(this IEntity, ISettings)
- ISymbolExtensions
ClassProvides extension methods on the ICSharpCode.Decompiler.TypeSystem.ISymbol type.- ToString(this ISymbol, CSharpAmbience)
MethodConverts a ICSharpCode.Decompiler.TypeSystem.ISymbol into its string representation using the provided ICSharpCode.Decompiler.CSharp.OutputVisitor.CSharpAmbience.
- ToString(this ISymbol, CSharpAmbience)
Generated by DefaultDocumentation