Browse Source

Update ApiControllerAttribute with link to more info (#29292)

Rick Anderson 5 năm trước cách đây
mục cha
commit
457ade0b77
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs

+ 2 - 1
src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs

@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
 // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
 
 using System;
@@ -14,6 +14,7 @@ namespace Microsoft.AspNetCore.Mvc
     /// </para>
     /// <para>
     /// When decorated on an assembly, all controllers in the assembly will be treated as controllers with API behavior.
+    /// For more information, see <see href="https://docs.microsoft.com/aspnet/core/web-api/#apicontroller-attribute">ApiController attribute</see>.
     /// </para>
     /// </summary>
     [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]