10 references to IfNull
Microsoft.Extensions.AI.Ollama (10)
OllamaChatClient.cs (6)
45: this(new Uri(Throw.IfNull(endpoint)), modelId, httpClient) 58_ = Throw.IfNull(endpoint); 76set => _toolCallJsonSerializerOptions = Throw.IfNull(value); 82_ = Throw.IfNull(chatMessages); 113_ = Throw.IfNull(chatMessages); 183_ = Throw.IfNull(serviceType);
OllamaEmbeddingGenerator.cs (4)
32: this(new Uri(Throw.IfNull(endpoint)), modelId, httpClient) 45_ = Throw.IfNull(endpoint); 62_ = Throw.IfNull(serviceType); 82_ = Throw.IfNull(values);