DocFormatProvider.Unregister Method
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
| Unregister(string) | Unregisters a documentation formatter for the specified file extension. |
| Unregister<TFormatter>() | Unregisters a documentation formatter for the associated file extensions. |
Unregister(string)
Unregisters a documentation formatter for the specified file extension.
public static void Unregister(string fileExtension)Parameters
fileExtensionstring- The file extension (including the leading period) to unregister the formatter for.
Exceptions
- ArgumentNullException
- Thrown when
fileExtensionisnull.
Unregister<TFormatter>()
Unregisters a documentation formatter for the associated file extensions.
public static void Unregister<TFormatter>()
where TFormatter : IDocumentFormatterType Parameters
TFormatter- The type of the documentation formatter to unregister.
