Interface IAgentDefinitionRegistry
Registry for AgentDefinition instances loaded from YAML files or registered programmatically.
public interface IAgentDefinitionRegistry
Methods
GetAll()
Returns all registered agent definitions.
IReadOnlyList<AgentDefinition> GetAll()
Returns
GetByName(string)
Returns the definition with the given name,
or null if no matching definition is registered.
AgentDefinition? GetByName(string name)
Parameters
namestring
Returns
GetByTag(string)
Returns all definitions that carry the specified tag.
IReadOnlyList<AgentDefinition> GetByTag(string tag)
Parameters
tagstring
Returns
Register(AgentDefinition)
Registers a definition. If a definition with the same
definition.Name.Name already exists it is replaced.
void Register(AgentDefinition definition)
Parameters
definitionAgentDefinition