CSharp.WriteLiteral Method

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

Definition

Writes a literal value to the TextWriter.
public static void WriteLiteral(TextWriter writer, object value)

Parameters

writer TextWriter
The TextWriter to write to.
value object
The literal value to write.

Exceptions

ArgumentNullException
Throw if writer is null.
ArgumentException
Throw if value is not a valid literal.