diff --git a/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs b/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs index 72b1c31f49..a981e6eb66 100644 --- a/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs +++ b/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs @@ -5,8 +5,15 @@ using System; namespace Microsoft.AspNetCore.Mvc.Razor.Internal { + /// + /// Specifies that the attributed property should be bound using request services. + /// + /// This attribute is used as the backing attribute for the @inject + /// Razor directive. + /// + /// [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class RazorInjectAttribute : Attribute { } -} \ No newline at end of file +}