Update doc comment for RazorInjectAttribute (#11554)
* Update doc comment for RazorInjectAttribute
This commit is contained in:
parent
cc1f23c5f8
commit
2a31739302
|
|
@ -5,8 +5,15 @@ using System;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Mvc.Razor.Internal
|
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)]
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
||||||
public class RazorInjectAttribute : Attribute
|
public class RazorInjectAttribute : Attribute
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue