mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
793403f3db
* Add MCP long-running task support for MCP client tools * Fixed project file formatting issue. * Removed experimentation tag from MCP alpha project. * Addressed PR comments
16 lines
424 B
C#
16 lines
424 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.Agents.AI.Mcp.UnitTests;
|
|
|
|
/// <summary>
|
|
/// Minimal empty <see cref="IServiceProvider"/> for in-memory fixtures that don't use DI.
|
|
/// </summary>
|
|
internal sealed class EmptyServiceProvider : IServiceProvider
|
|
{
|
|
public static EmptyServiceProvider Instance { get; } = new();
|
|
|
|
public object? GetService(Type serviceType) => null;
|
|
}
|