20 references to IfNull
Microsoft.Extensions.AI.OpenAI (20)
OpenAIChatClient.cs (6)
41_ = Throw.IfNull(openAIClient); 61_ = Throw.IfNull(chatClient); 81set => _toolCallJsonSerializerOptions = Throw.IfNull(value); 90_ = Throw.IfNull(serviceType); 104_ = Throw.IfNull(chatMessages); 119_ = Throw.IfNull(chatMessages);
OpenAIEmbeddingGenerator.cs (3)
41_ = Throw.IfNull(openAIClient); 68_ = Throw.IfNull(embeddingClient); 101_ = Throw.IfNull(serviceType);
OpenAIModelMapper.ChatCompletion.cs (2)
28_ = Throw.IfNull(chatCompletion); 73_ = Throw.IfNull(openAICompletion);
OpenAIRealtimeExtensions.cs (4)
30_ = Throw.IfNull(aiFunction); 75_ = Throw.IfNull(session); 76_ = Throw.IfNull(update); 77_ = Throw.IfNull(tools);
OpenAISerializationHelpers.cs (5)
31_ = Throw.IfNull(stream); 52_ = Throw.IfNull(stream); 53_ = Throw.IfNull(chatCompletion); 75_ = Throw.IfNull(stream); 76_ = Throw.IfNull(streamingChatCompletionUpdates);