mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
- Add UTF-8 BOM to 20 .cs files across DurableTask, AzureFunctions, unit tests, and workflow samples - Remove unnecessary using directive in 07_SubWorkflows/Executors.cs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
32 lines
917 B
C#
32 lines
917 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Diagnostics;
|
|
using Microsoft.Agents.AI.DurableTask.Workflows;
|
|
|
|
namespace Microsoft.Agents.AI.DurableTask;
|
|
|
|
/// <summary>
|
|
/// Provides configuration options for durable agents and workflows.
|
|
/// </summary>
|
|
[DebuggerDisplay("Workflows = {Workflows.Workflows.Count}, Agents = {Agents.AgentCount}")]
|
|
public class DurableOptions
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="DurableOptions"/> class.
|
|
/// </summary>
|
|
internal DurableOptions()
|
|
{
|
|
this.Workflows = new DurableWorkflowOptions(this);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the configuration options for durable agents.
|
|
/// </summary>
|
|
public DurableAgentsOptions Agents { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Gets the configuration options for durable workflows.
|
|
/// </summary>
|
|
public DurableWorkflowOptions Workflows { get; }
|
|
}
|