Table of Contents

Interface IUnboundSubscriptionDefinition

Namespace
Microsoft.AutoGen.Contracts
Assembly
Microsoft.AutoGen.Contracts.dll

Defines a subscription that is not yet bound to a specific agent type. This interface allows the creation of dynamic subscriptions that can later be associated with an agent.

public interface IUnboundSubscriptionDefinition

Methods

Bind(AgentType)

Binds the subscription to a specific agent type, creating a concrete ISubscriptionDefinition.

ISubscriptionDefinition Bind(AgentType agentType)

Parameters

agentType AgentType

The agent type to associate with the subscription.

Returns

ISubscriptionDefinition

A new ISubscriptionDefinition bound to the specified agent type.