9 writes to EndTime
Microsoft.Extensions.AI.Abstractions (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.SpeechToTextResponse.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.SpeechToTextResponse)obj).EndTime = value!,
SpeechToText\SpeechToTextResponseUpdateExtensions.cs (1)
92response.EndTime = update.EndTime;
Microsoft.Extensions.AI.Abstractions.Tests (4)
Generated\361d1da7f942c932\TestJsonSerializerContext.SpeechToTextResponse.g.cs (1)
79Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.SpeechToTextResponse)obj).EndTime = value!,
SpeechToText\SpeechToTextResponseTests.cs (3)
130response.EndTime = endTime; 158EndTime = TimeSpan.FromSeconds(2), 215EndTime = TimeSpan.FromSeconds(2),
Microsoft.Extensions.AI.OpenAI (3)
OpenAISpeechToTextClient.cs (3)
76response.EndTime = translation.Segments[segmentCount - 1].EndTime; 90response.EndTime = transcription.Segments[segmentCount - 1].EndTime; 98response.EndTime = transcription.Words[wordCount - 1].EndTime;
11 references to EndTime
Microsoft.Extensions.AI.Abstractions (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.SpeechToTextResponse.g.cs (1)
80Getter = static obj => ((global::Microsoft.Extensions.AI.SpeechToTextResponse)obj).EndTime,
SpeechToText\SpeechToTextResponse.cs (1)
90EndTime = EndTime,
SpeechToText\SpeechToTextResponseUpdateExtensions.cs (2)
89if (response.EndTime is null || (update.EndTime is not null && update.EndTime > response.EndTime))
Microsoft.Extensions.AI.Abstractions.Tests (7)
Generated\361d1da7f942c932\TestJsonSerializerContext.SpeechToTextResponse.g.cs (1)
78Getter = static obj => ((global::Microsoft.Extensions.AI.SpeechToTextResponse)obj).EndTime,
SpeechToText\SpeechToTextResponseTests.cs (5)
32Assert.Null(response.EndTime); 128Assert.Null(response.EndTime); 131Assert.Equal(endTime, response.EndTime); 179Assert.Equal(TimeSpan.FromSeconds(2), result.EndTime); 282Assert.Equal(TimeSpan.FromSeconds(5), result.EndTime);
SpeechToText\SpeechToTextResponseUpdateExtensionsTests.cs (1)
64Assert.Equal(TimeSpan.FromSeconds(35), response.EndTime);