Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class McpServerToolCallContent : AIContent
/// <param name="callId">The tool call ID.</param>
/// <param name="toolName">The tool name.</param>
/// <param name="serverName">The MCP server name.</param>
/// <exception cref="ArgumentNullException"><paramref name="callId"/>, <paramref name="toolName"/>, or <paramref name="serverName"/> are <see langword="null"/>.</exception>
/// <exception cref="ArgumentNullException"><paramref name="callId"/>, <paramref name="toolName"/>, or <paramref name="serverName"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException"><paramref name="callId"/>, <paramref name="toolName"/>, or <paramref name="serverName"/> are empty or composed entirely of whitespace.</exception>
public McpServerToolCallContent(string callId, string toolName, string serverName)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class HostedMcpServerTool : AITool
/// </summary>
/// <param name="serverName">The name of the remote MCP server.</param>
/// <param name="url">The URL of the remote MCP server.</param>
/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="url"/> are <see langword="null"/>.</exception>
/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="url"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException"><paramref name="serverName"/> is empty or composed entirely of whitespace.</exception>
public HostedMcpServerTool(string serverName, [StringSyntax(StringSyntaxAttribute.Uri)] string url)
: this(serverName, new Uri(Throw.IfNull(url)))
Expand All @@ -31,7 +31,7 @@ public HostedMcpServerTool(string serverName, [StringSyntax(StringSyntaxAttribut
/// </summary>
/// <param name="serverName">The name of the remote MCP server.</param>
/// <param name="url">The URL of the remote MCP server.</param>
/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="url"/> are <see langword="null"/>.</exception>
/// <exception cref="ArgumentNullException"><paramref name="serverName"/> or <paramref name="url"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException"><paramref name="serverName"/> is empty or composed entirely of whitespace.</exception>
public HostedMcpServerTool(string serverName, Uri url)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface IEvaluationReportWriter
/// Writes a report containing all the <see cref="EvaluationMetric"/>s present in the supplied
/// <paramref name="scenarioRunResults"/>s.
/// </summary>
/// <param name="scenarioRunResults">An enumeration of <see cref="ScenarioRunResult"/>s.</param>
/// <param name="scenarioRunResults">A collection of run results from which to generate the report.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> that can cancel the operation.</param>
/// <returns>A <see cref="ValueTask"/> that represents the asynchronous operation.</returns>
ValueTask WriteReportAsync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public static class ApplicationMetadataConfigurationBuilderExtensions
/// </summary>
/// <param name="builder">The configuration builder.</param>
/// <param name="hostEnvironment">An instance of <see cref="IHostEnvironment" />.</param>
/// <param name="sectionName">Section name to save configuration into. Default set to "ambientmetadata:application".</param>
/// <returns>The value of <paramref name="builder"/>>.</returns>
/// <param name="sectionName">The section name to save configuration into. The default is "ambientmetadata:application".</param>
/// <returns>The value of <paramref name="builder"/>.</returns>
/// <exception cref="ArgumentNullException"><paramref name="builder"/> or <paramref name="hostEnvironment"/> is <see langword="null"/>.</exception>
/// <exception cref="ArgumentException"><paramref name="sectionName"/> is either <see langword="null"/>, empty, or whitespace.</exception>
public static IConfigurationBuilder AddApplicationMetadata(this IConfigurationBuilder builder, IHostEnvironment hostEnvironment, string sectionName = DefaultSectionName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static IServiceCollection AddApplicationMetadata(this IServiceCollection
/// </summary>
/// <param name="services">The dependency injection container to add the instance to.</param>
/// <param name="configure">The delegate to configure <see cref="ApplicationMetadata"/> with.</param>
/// <returns>The value of <paramref name="services"/>>.</returns>
/// <returns>The value of <paramref name="services"/>.</returns>
/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
public static IServiceCollection AddApplicationMetadata(this IServiceCollection services, Action<ApplicationMetadata> configure)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Extensions.AsyncState;

/// <summary>
/// Provides access to the current async context.
/// Some implementations of this interface may not be thread safe.
/// Some implementations of this interface might not be thread safe.
/// </summary>
/// <typeparam name="T">The type of the asynchronous state.</typeparam>
public interface IAsyncContext<T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Microsoft.Extensions.AsyncState;

/// <summary>
/// Provides access to the current async context stored outside of the HTTP pipeline.
/// Some implementations of this interface may not be thread safe.
/// Some implementations of this interface might not be thread safe.
/// </summary>
/// <typeparam name="T">The type of the asynchronous state.</typeparam>
/// <remarks>This type is intended for internal use. Use <see cref="IAsyncContext{T}"/> instead.</remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Extensions.AsyncState;

/// <summary>
/// Encapsulates all information within the asynchronous flow in an <see cref="AsyncLocal{T}"/> variable.
/// Some implementations of this interface may not be thread safe.
/// Some implementations of this interface might not be thread safe.
/// </summary>
public interface IAsyncState
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class FakeRedactionServiceCollectionExtensions
/// <summary>
/// Registers the fake redactor provider that always returns fake redactor instances.
/// </summary>
/// <param name="services">Container used to register fake redaction classes.</param>
/// <param name="services">The container used to register fake redaction classes.</param>
/// <returns>The value of <paramref name="services" />.</returns>
/// <exception cref="ArgumentNullException"><paramref name="services"/> is <see langword="null"/>.</exception>
public static IServiceCollection AddFakeRedaction(this IServiceCollection services)
Expand All @@ -42,10 +42,10 @@ public static IServiceCollection AddFakeRedaction(this IServiceCollection servic
/// <summary>
/// Registers the fake redactor provider that always returns fake redactor instances.
/// </summary>
/// <param name="services">Container used to register fake redaction classes.</param>
/// <param name="services">The container used to register fake redaction classes.</param>
/// <param name="configure">Configures fake redactor.</param>
/// <returns>The value of <paramref name="services" />.</returns>
/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="configure"/>> are <see langword="null"/>.</exception>
/// <exception cref="ArgumentNullException"><paramref name="services"/> or <paramref name="configure"/> is <see langword="null"/>.</exception>
public static IServiceCollection AddFakeRedaction(this IServiceCollection services, Action<FakeRedactorOptions> configure)
{
_ = Throw.IfNull(services);
Expand Down
Loading