LanguageExtensions Class

Namespace
Kampute.DocToolkit.Languages
Assembly
  • Kampute.DocToolkit.dll

Definition

Provides extension methods for formatting code elements using an IProgrammingLanguage instance.
public static class LanguageExtensions
Inheritance

Methods

FormatAttribute(this IProgrammingLanguage, ICustomAttribute, NameQualifier)Formats the specified custom attribute according to syntax rules of the language.
FormatCodeReference(this IProgrammingLanguage, string, Func<IMember, NameQualifier>)Formats the given code reference (cref) according to syntax rules of the language.
FormatDefinition(this IProgrammingLanguage, IMember)Formats the definition of the specified member according to syntax rules of the language.
FormatLiteral(this IProgrammingLanguage, object)Formats the given literal value according to syntax rules of the language.
FormatName(this IProgrammingLanguage, IMember, NameQualifier)Formats the name of the specified member according to syntax rules of the language.
FormatSignature(this IProgrammingLanguage, IMember, NameQualifier)Formats the signature of the specified member according to syntax rules of the language.