6 writes to RawRepresentation
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\AIContentTests.cs (1)
25c.RawRepresentation = raw;
Contents\FunctionCallContentTests..cs (1)
55c.RawRepresentation = raw;
Contents\FunctionResultContentTests.cs (1)
43c.RawRepresentation = raw;
Contents\TextContentTests.cs (1)
29c.RawRepresentation = raw;
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
114callContent.RawRepresentation = toolCall;
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
551aiContent.RawRepresentation = contentPart;
27 references to RawRepresentation
Microsoft.Extensions.AI.Abstractions.Tests (16)
Contents\AIContentTests.cs (3)
14Assert.Null(c.RawRepresentation); 23Assert.Null(c.RawRepresentation); 26Assert.Same(raw, c.RawRepresentation);
Contents\FunctionCallContentTests..cs (4)
23Assert.Null(c.RawRepresentation); 40Assert.Null(c.RawRepresentation); 53Assert.Null(c.RawRepresentation); 56Assert.Same(raw, c.RawRepresentation);
Contents\FunctionResultContentTests.cs (4)
18Assert.Null(c.RawRepresentation); 28Assert.Null(c.RawRepresentation); 41Assert.Null(c.RawRepresentation); 44Assert.Same(raw, c.RawRepresentation);
Contents\TextContentTests.cs (3)
17Assert.Null(c.RawRepresentation); 27Assert.Null(c.RawRepresentation); 30Assert.Same(raw, c.RawRepresentation);
Contents\UsageContentTests.cs (2)
21Assert.Null(c.RawRepresentation); 38Assert.Null(c.RawRepresentation);
Microsoft.Extensions.AI.OpenAI.Tests (11)
OpenAISerializationTests.cs (11)
51Assert.Null(textContent.RawRepresentation); 84Assert.Null(textContent.RawRepresentation); 160Assert.Null(text.RawRepresentation); 172Assert.Null(text.RawRepresentation); 184Assert.Null(text.RawRepresentation); 196Assert.Null(text.RawRepresentation); 257Assert.Null(text.RawRepresentation); 265Assert.Null(text.RawRepresentation); 278Assert.Null(text.RawRepresentation); 414Assert.IsType<OpenAI.Chat.ChatToolCall>(text.RawRepresentation); 428Assert.Null(frc.RawRepresentation);