IProgrammingLanguage.WriteConstantValue Method
- Namespace
- Kampute.DocToolkit.Languages
- Assembly
- Kampute.DocToolkit.dll
Definition
Writes a constant value formatted according to the syntax rules of the language to the provided TextWriter.
void WriteConstantValue(
TextWriter writer,
object value,
IType valueType = null,
MemberDocLinker linker = null)Parameters
writerTextWriter- The TextWriter to which the literal value is written.
valueobject- The value to be formatted as a literal and written.
valueTypeIType optional- An optional IType representing the type of the value.
linkerMemberDocLinker optional- An optional delegate for linking to the documentation of a type or type's member.
