IndentedTextWriter - класс

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public class IndentedTextWriter : TextWriter
Inheritance
Object    MarshalByRefObject    TextWriter    IndentedTextWriter

Конструкторы

IndentedTextWriterИнициализирует новый экземпляр класса IndentedTextWriter

Свойства

EncodingWhen overridden in a derived class, returns the character encoding in which the output is written.
(Переопределяет TextWriterEncoding)
FormatProviderGets an object that controls formatting.
(Переопределяет TextWriterFormatProvider)
IndentLevel 
IndentString 
NewLineGets or sets the line terminator string used by the current TextWriter.
(Переопределяет TextWriterNewLine)

Методы

CloseCloses the current writer and releases any system resources associated with the writer.
(Переопределяет TextWriterClose)
DisposeReleases all resources used by the TextWriter object.
(Унаследован от TextWriter)
Dispose(Boolean)Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources.
(Переопределяет TextWriterDispose(Boolean))
DisposeAsyncAsynchronously releases all resources used by the TextWriter object.
(Переопределяет TextWriterDisposeAsync)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
FlushClears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Переопределяет TextWriterFlush)
FlushAsyncAsynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Переопределяет TextWriterFlushAsync)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
Indent 
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Унаследован от MarshalByRefObject)
ToStringReturns a string that represents the current object.
(Унаследован от Object)
Unindent 
Write(Boolean)Writes the text representation of a Boolean value to the text stream.
(Переопределяет TextWriterWrite(Boolean))
Write(Char)Writes a character to the text stream.
(Переопределяет TextWriterWrite(Char))
Write(Char)Writes a character array to the text stream.
(Переопределяет TextWriterWrite(Char))
Write(Decimal)Writes the text representation of a decimal value to the text stream.
(Переопределяет TextWriterWrite(Decimal))
Write(Double)Writes the text representation of an 8-byte floating-point value to the text stream.
(Переопределяет TextWriterWrite(Double))
Write(Int32)Writes the text representation of a 4-byte signed integer to the text stream.
(Переопределяет TextWriterWrite(Int32))
Write(Int64)Writes the text representation of an 8-byte signed integer to the text stream.
(Переопределяет TextWriterWrite(Int64))
Write(Object)Writes the text representation of an object to the text stream by calling the ToString method on that object.
(Переопределяет TextWriterWrite(Object))
Write(ReadOnlySpanChar)Writes a character span to the text stream.
(Переопределяет TextWriterWrite(ReadOnlySpanChar))
Write(Single)Writes the text representation of a 4-byte floating-point value to the text stream.
(Переопределяет TextWriterWrite(Single))
Write(String)Writes a string to the text stream.
(Переопределяет TextWriterWrite(String))
Write(StringBuilder) 
Write(UInt32)Writes the text representation of a 4-byte unsigned integer to the text stream.
(Переопределяет TextWriterWrite(UInt32))
Write(UInt64)Writes the text representation of an 8-byte unsigned integer to the text stream.
(Переопределяет TextWriterWrite(UInt64))
Write(String, Object)Writes a formatted string to the text stream, using the same semantics as the Format(String, Object) method.
(Переопределяет TextWriterWrite(String, Object))
Write(String, Object)Writes a formatted string to the text stream, using the same semantics as the Format(String, Object) method.
(Переопределяет TextWriterWrite(String, Object))
Write(Char, Int32, Int32)Writes a subarray of characters to the text stream.
(Переопределяет TextWriterWrite(Char, Int32, Int32))
Write(String, Object, Object)Writes a formatted string to the text stream using the same semantics as the Format(String, Object, Object) method.
(Переопределяет TextWriterWrite(String, Object, Object))
Write(String, Object, Object, Object)Writes a formatted string to the text stream, using the same semantics as the Format(String, Object, Object, Object) method.
(Переопределяет TextWriterWrite(String, Object, Object, Object))
WriteAsync(Char)Writes a character array to the text stream asynchronously.
(Унаследован от TextWriter)
WriteAsync(Char)Writes a character to the text stream asynchronously.
(Переопределяет TextWriterWriteAsync(Char))
WriteAsync(String)Writes a string to the text stream asynchronously.
(Переопределяет TextWriterWriteAsync(String))
WriteAsync(ReadOnlyMemoryChar, CancellationToken)Asynchronously writes a character memory region to the text stream.
(Переопределяет TextWriterWriteAsync(ReadOnlyMemoryChar, CancellationToken))
WriteAsync(StringBuilder, CancellationToken) 
WriteAsync(Char, Int32, Int32)Writes a subarray of characters to the text stream asynchronously.
(Переопределяет TextWriterWriteAsync(Char, Int32, Int32))
WriteIndent 
WriteIndentAsync 
WriteLineWrites a line terminator to the text stream.
(Переопределяет TextWriterWriteLine)
WriteLine(Boolean)Writes the text representation of a Boolean value to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Boolean))
WriteLine(Char)Writes a character to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Char))
WriteLine(Char)Writes an array of characters to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Char))
WriteLine(Decimal)Writes the text representation of a decimal value to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Decimal))
WriteLine(Double)Writes the text representation of a 8-byte floating-point value to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Double))
WriteLine(Int32)Writes the text representation of a 4-byte signed integer to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Int32))
WriteLine(Int64)Writes the text representation of an 8-byte signed integer to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Int64))
WriteLine(Object)Writes the text representation of an object to the text stream, by calling the ToString method on that object, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Object))
WriteLine(ReadOnlySpanChar)Writes the text representation of a character span to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(ReadOnlySpanChar))
WriteLine(Single)Writes the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Single))
WriteLine(String)Writes a string to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(String))
WriteLine(StringBuilder) 
WriteLine(UInt32)Writes the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(UInt32))
WriteLine(UInt64)Writes the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(UInt64))
WriteLine(String, Object)Writes a formatted string and a new line to the text stream, using the same semantics as the Format(String, Object) method.
(Переопределяет TextWriterWriteLine(String, Object))
WriteLine(String, Object)Writes out a formatted string and a new line to the text stream, using the same semantics as Format(String, Object).
(Переопределяет TextWriterWriteLine(String, Object))
WriteLine(Char, Int32, Int32)Writes a subarray of characters to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLine(Char, Int32, Int32))
WriteLine(String, Object, Object)Writes a formatted string and a new line to the text stream, using the same semantics as the Format(String, Object, Object) method.
(Переопределяет TextWriterWriteLine(String, Object, Object))
WriteLine(String, Object, Object, Object)Writes out a formatted string and a new line to the text stream, using the same semantics as Format(String, Object).
(Переопределяет TextWriterWriteLine(String, Object, Object, Object))
WriteLineAsyncAsynchronously writes a line terminator to the text stream.
(Переопределяет TextWriterWriteLineAsync)
WriteLineAsync(Char)Asynchronously writes an array of characters to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLineAsync(Char)Asynchronously writes a character to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLineAsync(Char))
WriteLineAsync(String)Asynchronously writes a string to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLineAsync(String))
WriteLineAsync(ReadOnlyMemoryChar, CancellationToken)Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLineAsync(ReadOnlyMemoryChar, CancellationToken))
WriteLineAsync(StringBuilder, CancellationToken) 
WriteLineAsync(Char, Int32, Int32)Asynchronously writes a subarray of characters to the text stream, followed by a line terminator.
(Переопределяет TextWriterWriteLineAsync(Char, Int32, Int32))

Поля

CoreNewLineStores the newline characters used for this TextWriter.
(Унаследован от TextWriter)

Методы расширения

Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)
WriteIndentAsync
(Определяется CommandLineIOExtensions)
WriteIndentedAsync Writes a string to the text string or stream with indentation of every line of the string.
(Определяется CommandLineIOExtensions)
WriteLogoAsync Writes a logo to the specified output stream.
(Определяется CommandLineIOExtensions)

См. также