Files
agent-framework/dotnet/src/Microsoft.Agents.AI.Hosting/IHostedWorkflowBuilder.cs
T
0331331dbc .NET [WIP]: introduce Hosting extensions for Workflows (#1359)
* skeleton

* wip

* rename + fix tests

* implement workflow tests

* fix comments

* Update dotnet/src/Microsoft.Agents.AI.Hosting/HostApplicationBuilderWorkflowExtensions.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fixes

* fix worfklow build logic

* rollback + new overload on workflow builder

* address PR comments

* :)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-14 19:44:58 +00:00

22 lines
579 B
C#

// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Extensions.Hosting;
namespace Microsoft.Agents.AI.Hosting;
/// <summary>
/// Represents a builder for configuring workflows within a hosting environment.
/// </summary>
public interface IHostedWorkflowBuilder
{
/// <summary>
/// Gets the name of the workflow being configured.
/// </summary>
string Name { get; }
/// <summary>
/// Gets the application host builder for configuring additional services.
/// </summary>
IHostApplicationBuilder HostApplicationBuilder { get; }
}