FileTopicFactory.Unregister Method

Namespace
Kampute.DocToolkit
Assembly
  • Kampute.DocToolkit.dll
FileTopicFactory.Unregister(string)Unregisters a topic type for the specified file extension.
FileTopicFactory.Unregister<TTopic>()Unregisters a topic type for all associated file extensions.

FileTopicFactory.Unregister(string)

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

Parameters

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

Exceptions

ArgumentNullException
Thrown when fileExtension is null.

FileTopicFactory.Unregister<TTopic>()

Unregisters a topic type for all associated file extensions.
public static void Unregister<TTopic>()
	where TTopic : FileTopic

Type Parameters

TTopic
The type of the topic to unregister.