1
0
Fork 0
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:
Tarek Mahmoud Sayed 2023-06-18 09:50:43 -07:00 committed by GitHub
parent 2c62994efb
commit 1ea78a4a25
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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; }
}
}

View file

@ -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" />.