Utf8StringWriter - класс

Объект StringWriter, выполняющий запись в кодировке UTF-8.

Definition

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

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

Utf8StringWriter Инициализирует новый экземпляр класса Utf8StringWriter.
Utf8StringWriter(IFormatProvider) Инициализирует новый экземпляр класса Utf8StringWriter с указанным форматом объекта.
Utf8StringWriter(StringBuilder) Инициализирует новый экземпляр класса Utf8StringWriter, с помощью которого осуществляется запись в указанный класс StringBuilder.
Utf8StringWriter(StringBuilder, IFormatProvider) Инициализирует новый экземпляр класса Utf8StringWriter, с помощью которого осуществляется запись в указанный класс StringBuilder и который имеет указанный формат поставщика.

Свойства

Encoding Получает кодировку Encoding, в которой осуществляется запись выходных данных.
(Переопределяет StringWriterEncoding)
FormatProviderGets an object that controls formatting.
(Унаследован от TextWriter)
NewLineGets or sets the line terminator string used by the current TextWriter.
(Унаследован от TextWriter)

Методы

CloseCloses the current StringWriter and the underlying stream.
(Унаследован от StringWriter)
DisposeReleases all resources used by the TextWriter object.
(Унаследован от TextWriter)
Dispose(Boolean)Releases the unmanaged resources used by the StringWriter and optionally releases the managed resources.
(Унаследован от StringWriter)
DisposeAsyncAsynchronously releases all resources used by the TextWriter object.
(Унаследован от TextWriter)
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.
(Унаследован от TextWriter)
FlushAsyncAsynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Унаследован от StringWriter)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
GetStringBuilderReturns the underlying StringBuilder.
(Унаследован от StringWriter)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
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 containing the characters written to the current StringWriter so far.
(Унаследован от StringWriter)
Write(Boolean)Writes the text representation of a Boolean value to the text stream.
(Унаследован от TextWriter)
Write(Char)Writes a character to the string.
(Унаследован от StringWriter)
Write(Char)Writes a character array to the text stream.
(Унаследован от TextWriter)
Write(Decimal)Writes the text representation of a decimal value to the text stream.
(Унаследован от TextWriter)
Write(Double)Writes the text representation of an 8-byte floating-point value to the text stream.
(Унаследован от TextWriter)
Write(Int32)Writes the text representation of a 4-byte signed integer to the text stream.
(Унаследован от TextWriter)
Write(Int64)Writes the text representation of an 8-byte signed integer to the text stream.
(Унаследован от TextWriter)
Write(Object)Writes the text representation of an object to the text stream by calling the ToString method on that object.
(Унаследован от TextWriter)
Write(ReadOnlySpanChar)Writes the string representation of a span of chars to the current string.
(Унаследован от StringWriter)
Write(Single)Writes the text representation of a 4-byte floating-point value to the text stream.
(Унаследован от TextWriter)
Write(String)Writes a string to the current string.
(Унаследован от StringWriter)
Write(UInt32)Writes the text representation of a 4-byte unsigned integer to the text stream.
(Унаследован от TextWriter)
Write(UInt64)Writes the text representation of an 8-byte unsigned integer to the text stream.
(Унаследован от TextWriter)
Write(String, Object)Writes a formatted string to the text stream, using the same semantics as the Format(String, Object) method.
(Унаследован от TextWriter)
Write(String, Object)Writes a formatted string to the text stream, using the same semantics as the Format(String, Object) method.
(Унаследован от TextWriter)
Write(Char, Int32, Int32)Writes a subarray of characters to the string.
(Унаследован от StringWriter)
Write(String, Object, Object)Writes a formatted string to the text stream using the same semantics as the Format(String, Object, Object) method.
(Унаследован от TextWriter)
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.
(Унаследован от TextWriter)
WriteAsync(Char)Writes a character to the string asynchronously.
(Унаследован от StringWriter)
WriteAsync(Char)Writes a character array to the text stream asynchronously.
(Унаследован от TextWriter)
WriteAsync(String)Writes a string to the current string asynchronously.
(Унаследован от StringWriter)
WriteAsync(ReadOnlyMemoryChar, CancellationToken)Asynchronously writes a memory region of characters to the string.
(Унаследован от StringWriter)
WriteAsync(Char, Int32, Int32)Writes a subarray of characters to the string asynchronously.
(Унаследован от StringWriter)
WriteLineWrites a line terminator to the text stream.
(Унаследован от TextWriter)
WriteLine(Boolean)Writes the text representation of a Boolean value to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(Char)Writes a character to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(Char)Writes an array of characters to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(Decimal)Writes the text representation of a decimal value to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(Double)Writes the text representation of a 8-byte floating-point value to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(Int32)Writes the text representation of a 4-byte signed integer to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(Int64)Writes the text representation of an 8-byte signed integer to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
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.
(Унаследован от TextWriter)
WriteLine(ReadOnlySpanChar)Writes the text representation a span of characters to the string, followed by a line terminator.
(Унаследован от StringWriter)
WriteLine(Single)Writes the text representation of a 4-byte floating-point value to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(String)Writes a string to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(UInt32)Writes the text representation of a 4-byte unsigned integer to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLine(UInt64)Writes the text representation of an 8-byte unsigned integer to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
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.
(Унаследован от TextWriter)
WriteLine(String, Object)Writes out a formatted string and a new line to the text stream, using the same semantics as Format(String, Object).
(Унаследован от TextWriter)
WriteLine(Char, Int32, Int32)Writes a subarray of characters to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
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.
(Унаследован от TextWriter)
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).
(Унаследован от TextWriter)
WriteLineAsyncAsynchronously writes a line terminator to the text stream.
(Унаследован от TextWriter)
WriteLineAsync(Char)Asynchronously writes a character to the string, followed by a line terminator.
(Унаследован от StringWriter)
WriteLineAsync(Char)Asynchronously writes an array of characters to the text stream, followed by a line terminator.
(Унаследован от TextWriter)
WriteLineAsync(String)Asynchronously writes a string to the current string, followed by a line terminator.
(Унаследован от StringWriter)
WriteLineAsync(ReadOnlyMemoryChar, CancellationToken)Asynchronously writes the string representation of the memory region of characters to the current string, followed by a line terminator.
(Унаследован от StringWriter)
WriteLineAsync(Char, Int32, Int32)asynchronously writes a subarray of characters to the string, followed by a line terminator.
(Унаследован от StringWriter)

Поля

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)

См. также