LanguageExtensions.FormatDefinition Method
- Namespace
- Kampute.DocToolkit.Languages
- Assembly
- Kampute.DocToolkit.dll
Definition
Formats the definition of the specified member according to syntax rules of the language.
public static string FormatDefinition(this IProgrammingLanguage language, IMember member)Parameters
languageIProgrammingLanguage- The IProgrammingLanguage instance.
memberIMember- The member whose definition to be formatted.
Returns
- string
- The definition of the specified member as it appears in the source code.
Exceptions
- ArgumentNullException
- Thrown when
languageormemberisnull.
