6 references to ParseObject
aspire (2)
Agents\OpenCode\OpenCodeAgentClient.cs (2)
168
AspireSkillsRemoteConfiguration.HasOpenCodeCatalog(AgentConfiguration.
ParseObject
(inline), sources))
197
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))