File: ServiceKeyAttribute.cs
Web Access
Project: src\src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj (Microsoft.Extensions.DependencyInjection.Abstractions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
 
namespace Microsoft.Extensions.DependencyInjection
{
    /// <summary>
    /// Specifies the parameter to inject the key that was used for registration or resolution.
    /// </summary>
    [AttributeUsage(AttributeTargets.Parameter)]
    public class ServiceKeyAttribute : Attribute
    {
    }
}