Skip to content

Commit

Permalink
add xml comments for IUnboundSubscriptionDefinition.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmang authored and jackgerrits committed Jan 28, 2025
1 parent b69af4a commit 08ff473
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@

namespace Microsoft.AutoGen.Contracts.Python;

/// <summary>
/// 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.
/// </summary>
public interface IUnboundSubscriptionDefinition
{
/// <summary>
/// Binds the subscription to a specific agent type, creating a concrete <see cref="ISubscriptionDefinition"/>.
/// </summary>
/// <param name="agentType">The agent type to associate with the subscription.</param>
/// <returns>A new <see cref="ISubscriptionDefinition"/> bound to the specified agent type.</returns>
public ISubscriptionDefinition Bind(AgentType agentType);
}

0 comments on commit 08ff473

Please sign in to comment.