Output Class
Provides output writing functionality for templates.
public class OutputConstructors
| Name | Description |
|---|---|
| Output(Template, TextWriter) | Initializes a new instance of the Output class. |
Output(Template, TextWriter)
Output.csInitializes a new instance of the Output class.
public Output(Template template, TextWriter writer)Parameters
templateTemplate- The template that this output is associated with.
writerTextWriter- The text writer to write output to.
Properties
| Name | Description |
|---|---|
| Template | Gets the template that this output is associated with. |
| Writer | Gets the text writer used to write output. |
Template
Output.csWriter
Output.csMethods
| Name | Description |
|---|---|
| Write(object?) | Writes the text representation of an object to the output. |
| Write(string?) | Writes a string to the output. |
| Write(string, object?[]) | Writes a formatted string to the output. |