DocFormatProvider.IsRegistered Method

Namespace
Kampute.DocToolkit.Formatters
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether a documentation formatter is registered for the specified file extension.
public static bool IsRegistered(string fileExtension)

Parameters

fileExtension string
The file extension (including the leading period) to check for a registered formatter.

Returns

bool
true if a formatter is registered for the specified file extension; otherwise, false.

Exceptions

ArgumentNullException
Thrown when fileExtension is null.