DocFormatProvider.Unregister Method

Namespace
Kampute.DocToolkit.Formatters
Assembly
  • Kampute.DocToolkit.dll
DocFormatProvider.Unregister(string)Unregisters a documentation formatter for the specified file extension.
DocFormatProvider.Unregister<TFormatter>()Unregisters a documentation formatter for the associated file extensions.

DocFormatProvider.Unregister(string)

Unregisters a documentation formatter for the specified file extension.
public static void Unregister(string fileExtension)

Parameters

fileExtension string
The file extension (including the leading period) to unregister the formatter for.

Exceptions

ArgumentNullException
Thrown when fileExtension is null.

DocFormatProvider.Unregister<TFormatter>()

Unregisters a documentation formatter for the associated file extensions.
public static void Unregister<TFormatter>()
	where TFormatter : IDocumentFormatter

Type Parameters

TFormatter
The type of the documentation formatter to unregister.