Address more PR comments

This commit is contained in:
Doug Bunting 2016-06-10 14:49:49 -07:00
parent 3a6541af10
commit b5a6303bb6
5 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@
namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim
{ {
/// <summary> /// <summary>
/// Indicates actions without attribute routes in a controller use WebAPI routing conventions. /// Indicates actions without attribute routes in a controller use ASP.NET Web API routing conventions.
/// </summary> /// </summary>
public interface IUseWebApiActionConventions public interface IUseWebApiActionConventions
{ {

View File

@ -4,8 +4,8 @@
namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim
{ {
/// <summary> /// <summary>
/// Indicates the model binding system should use WebAPI conventions for parameters of a controller's actions. For /// Indicates the model binding system should use ASP.NET Web API conventions for parameters of a controller's
/// example, bind simple types from the URI. /// actions. For example, bind simple types from the URI.
/// </summary> /// </summary>
public interface IUseWebApiParameterConventions public interface IUseWebApiParameterConventions
{ {

View File

@ -6,7 +6,7 @@ using System;
namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim
{ {
/// <summary> /// <summary>
/// Indicates actions without attribute routes in a controller use WebAPI routing conventions. w /// Indicates actions without attribute routes in a controller use ASP.NET Web API routing conventions.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class UseWebApiActionConventionsAttribute : Attribute, IUseWebApiActionConventions public class UseWebApiActionConventionsAttribute : Attribute, IUseWebApiActionConventions

View File

@ -6,8 +6,8 @@ using System;
namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim namespace Microsoft.AspNetCore.Mvc.WebApiCompatShim
{ {
/// <summary> /// <summary>
/// Indicates the model binding system should use WebAPI conventions for parameters of a controller's actions. For /// Indicates the model binding system should use ASP.NET Web API conventions for parameters of a controller's
/// example, bind simple types from the URI. /// actions. For example, bind simple types from the URI.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class UseWebApiParameterConventionsAttribute : Attribute, IUseWebApiParameterConventions public class UseWebApiParameterConventionsAttribute : Attribute, IUseWebApiParameterConventions

View File

@ -6,18 +6,18 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
/// <summary> /// <summary>
/// <para> /// <para>
/// An type that designates an optional parameter for the purposes /// An type that designates an optional parameter for the purposes
/// of WebAPI action overloading. Optional parameters do not participate in overloading, and /// of ASP.NET Web API action overloading. Optional parameters do not participate in overloading, and
/// do not have to have a value for the action to be selected. /// do not have to have a value for the action to be selected.
/// </para> /// </para>
/// <para> /// <para>
/// This has no impact when used without WebAPI action overloading. /// This has no impact when used without ASP.NET Web API action overloading.
/// </para> /// </para>
/// </summary> /// </summary>
public interface IOptionalBinderMetadata public interface IOptionalBinderMetadata
{ {
/// <summary> /// <summary>
/// Gets a value indicating whether the parameter participates in WebAPI action overloading. If <c>true</c>, /// Gets a value indicating whether the parameter participates in ASP.NET Web API action overloading. If
/// the parameter does not participate in overloading. Otherwise, it does. /// <c>true</c>, the parameter does not participate in overloading. Otherwise, it does.
/// </summary> /// </summary>
bool IsOptional { get; } bool IsOptional { get; }
} }