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

language IProgrammingLanguage
The IProgrammingLanguage instance.
member IMember
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 language or member is null.