mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 18:20:26 +09:00
Fix the namespace of IServiceCollection.AddMetrics (#87736)
This commit is contained in:
parent
2c62994efb
commit
1ea78a4a25
2 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
namespace Microsoft.Extensions.Diagnostics.Metrics
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public static class MetricsServiceExtensions
|
||||
{
|
||||
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddMetrics(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { return null!; }
|
||||
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddMetrics(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
|
||||
}
|
||||
}
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Diagnostics.Metrics;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Extensions.Diagnostics.Metrics
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// Extension methods for setting up metrics services in an <see cref="IServiceCollection" />.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue