LanguageExtensions.FormatAttribute Method
- Namespace
- Kampute.DocToolkit.Languages
- Assembly
- Kampute.DocToolkit.dll
Definition
Formats the specified custom attribute according to syntax rules of the language.
public static string FormatAttribute(this IProgrammingLanguage language, ICustomAttribute attribute, NameQualifier qualifier)Parameters
languageIProgrammingLanguage- The IProgrammingLanguage instance.
attributeICustomAttribute- The ICustomAttribute representing the attribute to be formatted.
qualifierNameQualifier- The level of qualification to apply to the attribute's name.
Returns
- string
- The representation of the specified attribute according to syntax rules of the language.
Exceptions
- ArgumentNullException
- Thrown when
languageorattributeisnull.
