TextToSpeechResponseUpdateExtensions.ToTextToSpeechResponse Method

Definition

Combines TextToSpeechResponseUpdate instances into a single TextToSpeechResponse.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::AI::TextToSpeechResponse ^ ToTextToSpeechResponse(System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::TextToSpeechResponseUpdate ^> ^ updates);
public static Microsoft.Extensions.AI.TextToSpeechResponse ToTextToSpeechResponse(this System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.TextToSpeechResponseUpdate> updates);
static member ToTextToSpeechResponse : seq<Microsoft.Extensions.AI.TextToSpeechResponseUpdate> -> Microsoft.Extensions.AI.TextToSpeechResponse
<Extension()>
Public Function ToTextToSpeechResponse (updates As IEnumerable(Of TextToSpeechResponseUpdate)) As TextToSpeechResponse

Parameters

updates
IEnumerable<TextToSpeechResponseUpdate>

The updates to be combined.

Returns

The combined TextToSpeechResponse.

Applies to