21 references to new
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatResponseExtensions.cs (1)
415return new(firstContent.CallId)
Generated\361d1da7f942c932\JsonContext.CodeInterpreterToolResultContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent((string)args[0]),
Microsoft.Extensions.AI.Abstractions.Tests (7)
Contents\AIContentTests.cs (1)
86new CodeInterpreterToolResultContent("ci456"),
Contents\CodeInterpreterToolResultContentTests.cs (4)
15CodeInterpreterToolResultContent c = new("callId1"); 25CodeInterpreterToolResultContent c = new("call123"); 48CodeInterpreterToolResultContent c = new("call789") 70CodeInterpreterToolResultContent content = new("call123")
Contents\ToolResultContentTests.cs (1)
57new CodeInterpreterToolResultContent("call3"),
Generated\361d1da7f942c932\TestJsonSerializerContext.CodeInterpreterToolResultContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\361d1da7f942c932\JsonContext.CodeInterpreterToolResultContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent((string)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\361d1da7f942c932\JsonContext.CodeInterpreterToolResultContent.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent((string)args[0]),
Microsoft.Extensions.AI.OpenAI (2)
OpenAIAssistantsChatClient.cs (1)
223CodeInterpreterToolResultContent hcitrc = new(details.ToolCallId)
OpenAIResponsesChatClient.cs (1)
1903return new(cicri.Id)
Microsoft.Extensions.AI.Stabilization.Tests (5)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.CodeInterpreterToolResultContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent((string)args[0]),
parent\Microsoft.Extensions.AI.Abstractions.Tests\Contents\CodeInterpreterToolResultContentTests.cs (4)
15CodeInterpreterToolResultContent c = new("callId1"); 25CodeInterpreterToolResultContent c = new("call123"); 48CodeInterpreterToolResultContent c = new("call789") 70CodeInterpreterToolResultContent content = new("call123")
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\OpenTelemetryChatClientTests.cs (2)
662new CodeInterpreterToolResultContent("ci-call-1") { Outputs = [new TextContent("hello")] }, 678yield return new() { Contents = [new CodeInterpreterToolResultContent("ci-call-1") { Outputs = [new TextContent("hello")] }] };
Generated\361d1da7f942c932\TestJsonSerializerContext.CodeInterpreterToolResultContent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.CodeInterpreterToolResultContent((string)args[0]),