diff --git a/src/Microsoft.AspNetCore.Routing.Abstractions/RouteValueDictionary.cs b/src/Microsoft.AspNetCore.Routing.Abstractions/RouteValueDictionary.cs index 1031ad2ec3..7e0ec2cdb8 100644 --- a/src/Microsoft.AspNetCore.Routing.Abstractions/RouteValueDictionary.cs +++ b/src/Microsoft.AspNetCore.Routing.Abstractions/RouteValueDictionary.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.Internal; namespace Microsoft.AspNetCore.Routing { /// - /// An type for route values. + /// An type for route values. /// public class RouteValueDictionary : IDictionary, IReadOnlyDictionary { @@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Routing /// or an object with public properties as key-value pairs. /// /// - /// If the value is a dictionary or other , + /// If the value is a dictionary or other of , /// then its entries are copied. Otherwise the object is interpreted as a set of key-value pairs where the /// property names are keys, and property values are the values, and copied into the dictionary. /// Only public instance non-index properties are considered. diff --git a/src/Microsoft.AspNetCore.Routing.Abstractions/project.json b/src/Microsoft.AspNetCore.Routing.Abstractions/project.json index 8a2b254d57..65f988ed8f 100644 --- a/src/Microsoft.AspNetCore.Routing.Abstractions/project.json +++ b/src/Microsoft.AspNetCore.Routing.Abstractions/project.json @@ -7,7 +7,9 @@ }, "compilationOptions": { "warningsAsErrors": true, - "keyFile": "../../tools/Key.snk" + "keyFile": "../../tools/Key.snk", + "nowarn": [ "CS1591" ], + "xmlDoc": true }, "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*", diff --git a/src/Microsoft.AspNetCore.Routing/RequestDelegateRouteBuilderExtensions.cs b/src/Microsoft.AspNetCore.Routing/RequestDelegateRouteBuilderExtensions.cs index 56473cd6b0..9600565185 100644 --- a/src/Microsoft.AspNetCore.Routing/RequestDelegateRouteBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Routing/RequestDelegateRouteBuilderExtensions.cs @@ -38,8 +38,8 @@ namespace Microsoft.AspNetCore.Routing /// . /// /// The . + /// The route template. /// The action to apply to the . - /// The route handler. /// A reference to the after this operation has completed. public static IRouteBuilder MapRoute(this IRouteBuilder builder, string template, Action action) { diff --git a/src/Microsoft.AspNetCore.Routing/RouteConstraintBuilder.cs b/src/Microsoft.AspNetCore.Routing/RouteConstraintBuilder.cs index 1116222e5f..bd2dfca275 100644 --- a/src/Microsoft.AspNetCore.Routing/RouteConstraintBuilder.cs +++ b/src/Microsoft.AspNetCore.Routing/RouteConstraintBuilder.cs @@ -50,7 +50,7 @@ namespace Microsoft.AspNetCore.Routing /// /// Builds a mapping of constraints. /// - /// An of the constraints. + /// An of the constraints. public IDictionary Build() { var constraints = new Dictionary(StringComparer.OrdinalIgnoreCase); diff --git a/src/Microsoft.AspNetCore.Routing/RouteValueEqualityComparer.cs b/src/Microsoft.AspNetCore.Routing/RouteValueEqualityComparer.cs index 8ef887f728..6f2a1eab45 100644 --- a/src/Microsoft.AspNetCore.Routing/RouteValueEqualityComparer.cs +++ b/src/Microsoft.AspNetCore.Routing/RouteValueEqualityComparer.cs @@ -8,7 +8,7 @@ using System.Globalization; namespace Microsoft.AspNetCore.Routing { /// - /// An implementation that compares objects as-if + /// An implementation that compares objects as-if /// they were route value strings. /// /// diff --git a/src/Microsoft.AspNetCore.Routing/project.json b/src/Microsoft.AspNetCore.Routing/project.json index 00f959eb34..df7e11397c 100644 --- a/src/Microsoft.AspNetCore.Routing/project.json +++ b/src/Microsoft.AspNetCore.Routing/project.json @@ -7,7 +7,9 @@ }, "compilationOptions": { "warningsAsErrors": true, - "keyFile": "../../tools/Key.snk" + "keyFile": "../../tools/Key.snk", + "nowarn": [ "CS1591" ], + "xmlDoc": true }, "dependencies": { "Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",