DelegatingAgentSkillsSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an abstract base class for skill sources that delegate operations to an inner source while allowing for extensibility and customization.
public abstract class DelegatingAgentSkillsSource : Microsoft.Agents.AI.AgentSkillsSource
type DelegatingAgentSkillsSource = class
inherit AgentSkillsSource
Public MustInherit Class DelegatingAgentSkillsSource
Inherits AgentSkillsSource
- Inheritance
- Derived
Remarks
DelegatingAgentSkillsSource implements the decorator pattern for AgentSkillsSource, enabling the creation of source pipelines where each layer can add functionality (caching, deduplication, filtering, etc.) while delegating core operations to an underlying source.
Constructors
| Name | Description |
|---|---|
| DelegatingAgentSkillsSource(AgentSkillsSource) |
Initializes a new instance of the DelegatingAgentSkillsSource class with the specified inner source. |
Properties
| Name | Description |
|---|---|
| InnerSource |
Gets the inner skill source that receives delegated operations. |
Methods
| Name | Description |
|---|---|
| Dispose() |
Releases all resources used by this source. (Inherited from AgentSkillsSource) |
| Dispose(Boolean) |
Releases the unmanaged resources used by this source and optionally releases the managed resources. |
| GetSkillsAsync(AgentSkillsSourceContext, CancellationToken) |
Gets the skills provided by this source. |