public static class LanguageSpecificComponentExtensions

assembly RefDocGen
namespace RefDocGen.TemplateProcessors.Shared.TemplateTools
Base type:  object

Class containing extension methods for the LanguageSpecificComponent enum.

Methods

public static Type GetFromFolder(this LanguageSpecificComponent componentKind, string componentsFolderName) #
Gets the Type object describing the language specific component of the given kind, which is contained in the componentsFolderName folder.
Parameters
this LanguageSpecificComponent componentKind
Kind of the language-specific component to return.
string componentsFolderName
Name of the folder inside the 'TemplateProcessors/Default/Templates/Components/LanguageSpecific' directory that contains the language-specific components.
Returns
Type
A Type object describing the language specific component of the given kind, specified by componentKind, which is contained in componentsFolderName folder.
Exceptions
RefDocGen.Tools.Exceptions.LanguageSpecificComponentNotFoundException
Thrown when the language-specific component is not found.