In This Article

DocumentationProvider Class

Returns documentation for a .NET type or member definition.

public class DocumentationProvider : IDocumentationProvider
Inheritance:
object object
Implements:
IDocumentationProvider

Constructors

DocumentationProvider(string?)

Initializes an instance of the class.

public DocumentationProvider(string? documentation)
Parameter Type Description
documentation string

The XML documentation.

Methods

GetDocumentationKey(ITypeDefinition)

Returns the documentation key for the specified ITypeDefinition.

public static string GetDocumentationKey(ITypeDefinition typeDef)
Parameter Type Description
typeDef ITypeDefinition

The ITypeDefinition to examine.

Returns

string

GetDocumentationKey(ITypeMemberDefinition, bool)

Returns the documentation key for the specified ITypeMemberDefinition.

public static string GetDocumentationKey(ITypeMemberDefinition typeMemberDef, bool includeDeclaringType)
Parameter Type Description
typeMemberDef ITypeMemberDefinition

The ITypeMemberDefinition to examine.

includeDeclaringType bool

Whether to include the declaring type.

Returns

string

GetParameter(string)

Returns the documentation for the parameter with the specified name.

public string GetParameter(string name)
Parameter Type Description
name string

The parameter name.

Returns

string

GetRemarks()

Returns the remarks documentation.

public string GetRemarks()

Returns

string

GetSummary()

Returns the summary documentation.

public string GetSummary()

Returns

string

GetTypeParameter(string)

Returns the documentation for the type parameter with the specified name.

public string GetTypeParameter(string name)
Parameter Type Description
name string

The parameter name.

Returns

string

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods