18 references to IfNull
Microsoft.Extensions.AI.OpenAI (18)
OpenAIChatClient.cs (5)
50
_ = Throw.
IfNull
(chatClient);
69
_ = Throw.
IfNull
(serviceType);
83
_ = Throw.
IfNull
(messages);
98
_ = Throw.
IfNull
(messages);
405
_ = Throw.
IfNull
(openAICompletion);
OpenAIEmbeddingGenerator.cs (2)
41
_ = Throw.
IfNull
(embeddingClient);
95
_ = Throw.
IfNull
(serviceType);
OpenAIResponseChatClient.cs (4)
44
_ = Throw.
IfNull
(responseClient);
63
_ = Throw.
IfNull
(serviceType);
77
_ = Throw.
IfNull
(messages);
150
_ = Throw.
IfNull
(messages);
OpenAISpeechToTextClient.cs (7)
38
_ = Throw.
IfNull
(audioClient);
57
_ = Throw.
IfNull
(serviceType);
71
_ = Throw.
IfNull
(audioSpeechStream);
85
_ = Throw.
IfNull
(audioSpeechStream);
96
_ = Throw.
IfNull
(options);
151
_ = Throw.
IfNull
(audioTranscription);
225
_ = Throw.
IfNull
(audioTranslation);