mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
* 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>
18 lines
497 B
C#
18 lines
497 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
namespace Microsoft.Agents.AI.Hosting;
|
|
|
|
internal sealed class HostedWorkflowBuilder : IHostedWorkflowBuilder
|
|
{
|
|
public string Name { get; }
|
|
public IHostApplicationBuilder HostApplicationBuilder { get; }
|
|
|
|
public HostedWorkflowBuilder(string name, IHostApplicationBuilder hostApplicationBuilder)
|
|
{
|
|
this.Name = name;
|
|
this.HostApplicationBuilder = hostApplicationBuilder;
|
|
}
|
|
}
|