Share via


StreamingTextEntityWriter Class

Definition

Provides APIs for streaming the text content of a StreamingTextActionEntity.

[System.Runtime.CompilerServices.Nullable(0)]
public sealed class StreamingTextEntityWriter : IEquatable<StreamingTextEntityWriter>
Public NotInheritable Class StreamingTextEntityWriter
Implements IEquatable(Of StreamingTextEntityWriter)
Inheritance
StreamingTextEntityWriter
Attributes
Implements

Constructors

StreamingTextEntityWriter(ActionEntityTextFormat, Func<StreamingTextActionEntityWriter,Task>)

Initializes a new instance of the StreamingTextEntityWriter class.

StreamingTextEntityWriter(ActionEntityTextFormat, IAsyncEnumerable<String>)

Initializes a new instance of the StreamingTextEntityWriter class.

Properties

EntityWriter

Gets an enumerable collection of strings.

EntityWriterCallback

Gets the callback method that is called to update the text content of the StreamingTextEntityWriter.

TextFormat

Gets the text format of the StreamingTextEntityWriter.

Methods

<Clone>$()

Returns a new StreamingTextEntityWriter object with the same values as the current one.

Equals(Object)

Determines if an object is an instance of StreamingTextEntityWriter and is equal to this instance.

Equals(StreamingTextEntityWriter)

Determines if an instance of StreamingTextEntityWriter is equal to this instance.

GetHashCode()

Returns the hash code for the StreamingTextEntityWriter object.

ToString()

Returns a string that represents the current object.

Operators

Equality(StreamingTextEntityWriter, StreamingTextEntityWriter)

Performs a comparison of two instantiated StreamingTextEntityWriter objects to determine if they are equal.

Inequality(StreamingTextEntityWriter, StreamingTextEntityWriter)

Performs a comparison of two instantiated StreamingTextEntityWriter objects to determine if they are not equal.

Applies to