mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
28 lines
755 B
C#
28 lines
755 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
namespace Microsoft.Agents.AI.DurableTask;
|
|
|
|
/// <summary>
|
|
/// Provides configuration options for durable agents and workflows.
|
|
/// </summary>
|
|
public sealed class DurableOptions
|
|
{
|
|
/// <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; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="DurableOptions"/> class.
|
|
/// </summary>
|
|
public DurableOptions()
|
|
{
|
|
this.Workflows = new DurableWorkflowOptions(this);
|
|
}
|
|
}
|