11 references to ReadBytesForEditAsync
aspire (4)
Agents\AgentConfiguration.cs (1)
124
=> ParseFile(path, await
ReadBytesForEditAsync
(path, cancellationToken));
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (1)
105
bytes = await edit.
ReadBytesForEditAsync
(settingsPath, cancellationToken);
Agents\Copilot\CopilotAgentClient.cs (1)
144
await edit.
ReadBytesForEditAsync
(filePath, cancellationToken);
Agents\McpConfigFileHelper.cs (1)
45
var content = await edit.
ReadBytesForEditAsync
(configFilePath, cancellationToken);
Aspire.Cli.Tests (7)
Agents\AgentConfigurationTests.cs (7)
139
Assert.Null(await edit.
ReadBytesForEditAsync
(path, CancellationToken.None).DefaultTimeout());
157
await otherEdit.
ReadBytesForEditAsync
(path, CancellationToken.None).DefaultTimeout();
332
await edit.
ReadBytesForEditAsync
(path, CancellationToken.None);
370
await edit.
ReadBytesForEditAsync
(path, CancellationToken.None);
412
await edit.
ReadBytesForEditAsync
(path, CancellationToken.None);
441
await edit.
ReadBytesForEditAsync
(path, CancellationToken.None);
501
await edit.
ReadBytesForEditAsync
(path, CancellationToken.None);