 | ByLineTextMessageWriter Constructor (TextWriter, String) |
[This is preliminary documentation and is subject to change.]
Namespace:
JsonRpc.Streams
Assembly:
JsonRpc.Streams (in JsonRpc.Streams.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxpublic ByLineTextMessageWriter(
TextWriter writer,
string delimiter
)
Public Sub New (
writer As TextWriter,
delimiter As String
)
Dim writer As TextWriter
Dim delimiter As String
Dim instance As New ByLineTextMessageWriter(writer,
delimiter)
public:
ByLineTextMessageWriter(
TextWriter^ writer,
String^ delimiter
)
new :
writer : TextWriter *
delimiter : string -> ByLineTextMessageWriter
Parameters
- writer
- Type: System.IOTextWriter
The underlying text writer. - delimiter
- Type: SystemString
The indicator for the end of a message.
If the writer writes a line that is the same as this parameter, the current message is finished.
Use null to indicate that each line, as long as it is not empty,
should be treated a message.
See Also