Lean  $LEAN_TAG$
QuantConnect.Util.FuncTextWriter Class Reference

Provides an implementation of TextWriter that redirects Write(string) and WriteLine(string) More...

Inheritance diagram for QuantConnect.Util.FuncTextWriter:
[legend]

Public Member Functions

 FuncTextWriter (Action< string > writer)
 Initializes a new instance of the FuncTextWriter that will direct messages to the algorithm's Debug function. More...
 
override void Write (string value)
 Writes the string value using the delegate provided at construction More...
 
override void WriteLine (string value)
 Writes the string value using the delegate provided at construction More...
 

Properties

override Encoding Encoding [get]
 

Detailed Description

Provides an implementation of TextWriter that redirects Write(string) and WriteLine(string)

Definition at line 26 of file FuncTextWriter.cs.

Constructor & Destructor Documentation

◆ FuncTextWriter()

QuantConnect.Util.FuncTextWriter.FuncTextWriter ( Action< string >  writer)

Initializes a new instance of the FuncTextWriter that will direct messages to the algorithm's Debug function.

Parameters
writerThe algorithm hosting the Debug function where messages will be directed

Definition at line 41 of file FuncTextWriter.cs.

Member Function Documentation

◆ Write()

override void QuantConnect.Util.FuncTextWriter.Write ( string  value)

Writes the string value using the delegate provided at construction

Parameters
valueThe string value to be written

Definition at line 50 of file FuncTextWriter.cs.

◆ WriteLine()

override void QuantConnect.Util.FuncTextWriter.WriteLine ( string  value)

Writes the string value using the delegate provided at construction

Parameters
value

Definition at line 59 of file FuncTextWriter.cs.


The documentation for this class was generated from the following file: