Files
agent-framework/dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunOptions.cs
T
f21b9d14f8 .NET: Use copilot to improve XML docs for M.Agents.AI{.Abstractions} (#1042)
* Use copilot to improve XML docs for M.Agents.AI{.Abstractions}

Asked copilot to help improve some of the docs, then I reviewed them.

I also cleaned up a few things along the way, like a couple of extension method types that should be combined.

* Update dotnet/src/Microsoft.Agents.AI.Abstractions/InMemoryChatMessageStore.cs

---------

Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com>
2025-10-01 08:44:33 +00:00

30 lines
912 B
C#

// Copyright (c) Microsoft. All rights reserved.
using System;
using Microsoft.Shared.Diagnostics;
namespace Microsoft.Agents.AI;
/// <summary>
/// Provides optional parameters and configuration settings for controlling agent run behavior.
/// </summary>
public class AgentRunOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="AgentRunOptions"/> class.
/// </summary>
public AgentRunOptions()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="AgentRunOptions"/> class by copying values from the specified options.
/// </summary>
/// <param name="options">The options instance from which to copy values.</param>
/// <exception cref="ArgumentNullException"><paramref name="options"/> is <see langword="null"/>.</exception>
public AgentRunOptions(AgentRunOptions options)
{
_ = Throw.IfNull(options);
}
}