7 references to ParseObject
aspire (3)
Agents\OpenCode\OpenCodeAgentClient.cs (3)
88
foreach (var directory in GetConfiguredSkillDirectories(AgentConfiguration.
ParseObject
(inline)))
240
AspireSkillsRemoteConfiguration.HasOpenCodeCatalog(AgentConfiguration.
ParseObject
(inline)))
265
var inlineConfig = AgentConfiguration.
ParseObject
(inline);
Aspire.Cli.Tests (4)
Agents\AgentConfigurationTests.cs (4)
35
var inline = AgentConfiguration.
ParseObject
(json);
113
"null" => Assert.Throws<ArgumentNullException>(() => AgentConfiguration.
ParseObject
(json)),
114
"[]" => Assert.Throws<InvalidOperationException>(() => AgentConfiguration.
ParseObject
(json)),
115
_ => Assert.ThrowsAny<JsonException>(() => AgentConfiguration.
ParseObject
(json))