Update doc comment for RazorInjectAttribute (#11554)

* Update doc comment for RazorInjectAttribute
This commit is contained in:
Pranav K 2019-06-25 13:32:21 -07:00 committed by GitHub
parent cc1f23c5f8
commit 2a31739302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -5,8 +5,15 @@ using System;
namespace Microsoft.AspNetCore.Mvc.Razor.Internal
{
/// <summary>
/// Specifies that the attributed property should be bound using request services.
/// <para>
/// This attribute is used as the backing attribute for the <code>@inject</code>
/// Razor directive.
/// </para>
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class RazorInjectAttribute : Attribute
{
}
}
}