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

writer TextWriter
The TextWriter to which the literal value is written.
value object
The value to be formatted as a literal and written.
valueType IType optional
An optional IType representing the type of the value.
linker MemberDocLinker optional
An optional delegate for linking to the documentation of a type or type's member.