11 instantiations of McpServerToolCallContent
Microsoft.Extensions.AI.Abstractions.Tests (8)
Contents\McpServerToolCallContentTests.cs (8)
15McpServerToolCallContent c = new("callId1", "toolName", "serverName");
30McpServerToolCallContent c = new("callId1", "toolName", "serverName");
55Assert.Throws<ArgumentException>("callId", () => new McpServerToolCallContent(string.Empty, "name", "serverName"));
56Assert.Throws<ArgumentException>("toolName", () => new McpServerToolCallContent("callId1", string.Empty, "serverName"));
57Assert.Throws<ArgumentException>("serverName", () => new McpServerToolCallContent("callId1", "name", string.Empty));
59Assert.Throws<ArgumentNullException>("callId", () => new McpServerToolCallContent(null!, "name", "serverName"));
60Assert.Throws<ArgumentNullException>("toolName", () => new McpServerToolCallContent("callId1", null!, "serverName"));
61Assert.Throws<ArgumentNullException>("serverName", () => new McpServerToolCallContent("callId1", "name", null!));
Microsoft.Extensions.AI.OpenAI (3)
16 references to McpServerToolCallContent
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.AI.OpenAI.Tests (9)