Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 2.48 KB

File metadata and controls

29 lines (21 loc) · 2.48 KB

PrefixedWriter Class

Decorator of the IWriter type to prefix every new line with a specific System.String.

public sealed class PrefixedWriter : DefaultDocumentation.Api.IWriter

Inheritance System.Object 🡒 PrefixedWriter

Implements IWriter

Constructors
PrefixedWriter(IWriter, string) Initializes a new instance of the PrefixedWriter type.
Properties
Context Gets the IPageContext of the current documentation generation process.
Length Gets or sets the length of the documentation text currently produced.
Methods
Append(string) Appends a string at the end of the documentation text.
AppendLine() Appends a System.Environment.NewLine at the end of the documentation text.
EndsWith(string) Returns whether the documentation text ends with the given string.