Enabled xml doc generation
This commit is contained in:
parent
51c4dd43b3
commit
3d8dcfac4f
|
|
@ -9,7 +9,7 @@ using Microsoft.Extensions.Internal;
|
||||||
namespace Microsoft.AspNetCore.Routing
|
namespace Microsoft.AspNetCore.Routing
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="IDictionary{string, object}"/> type for route values.
|
/// An <see cref="IDictionary{String, Object}"/> type for route values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class RouteValueDictionary : IDictionary<string, object>, IReadOnlyDictionary<string, object>
|
public class RouteValueDictionary : IDictionary<string, object>, IReadOnlyDictionary<string, object>
|
||||||
{
|
{
|
||||||
|
|
@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Routing
|
||||||
/// or an object with public properties as key-value pairs.
|
/// or an object with public properties as key-value pairs.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// If the value is a dictionary or other <see cref="IEnumerable{KeyValuePair{string, object}}"/>,
|
/// If the value is a dictionary or other <see cref="IEnumerable{T}"/> of <see cref="KeyValuePair{String, Object}"/>,
|
||||||
/// then its entries are copied. Otherwise the object is interpreted as a set of key-value pairs where the
|
/// 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.
|
/// property names are keys, and property values are the values, and copied into the dictionary.
|
||||||
/// Only public instance non-index properties are considered.
|
/// Only public instance non-index properties are considered.
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,9 @@
|
||||||
},
|
},
|
||||||
"compilationOptions": {
|
"compilationOptions": {
|
||||||
"warningsAsErrors": true,
|
"warningsAsErrors": true,
|
||||||
"keyFile": "../../tools/Key.snk"
|
"keyFile": "../../tools/Key.snk",
|
||||||
|
"nowarn": [ "CS1591" ],
|
||||||
|
"xmlDoc": true
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
|
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ namespace Microsoft.AspNetCore.Routing
|
||||||
/// <paramref name="action"/>.
|
/// <paramref name="action"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="builder">The <see cref="IRouteBuilder"/>.</param>
|
/// <param name="builder">The <see cref="IRouteBuilder"/>.</param>
|
||||||
|
/// <param name="template">The route template.</param>
|
||||||
/// <param name="action">The action to apply to the <see cref="IApplicationBuilder"/>.</param>
|
/// <param name="action">The action to apply to the <see cref="IApplicationBuilder"/>.</param>
|
||||||
/// <param name="handler">The <see cref="RequestDelegate"/> route handler.</param>
|
|
||||||
/// <returns>A reference to the <paramref name="builder"/> after this operation has completed.</returns>
|
/// <returns>A reference to the <paramref name="builder"/> after this operation has completed.</returns>
|
||||||
public static IRouteBuilder MapRoute(this IRouteBuilder builder, string template, Action<IApplicationBuilder> action)
|
public static IRouteBuilder MapRoute(this IRouteBuilder builder, string template, Action<IApplicationBuilder> action)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ namespace Microsoft.AspNetCore.Routing
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Builds a mapping of constraints.
|
/// Builds a mapping of constraints.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>An <see cref="IDictionary{string, IRouteConstraint}"/> of the constraints.</returns>
|
/// <returns>An <see cref="IDictionary{String, IRouteConstraint}"/> of the constraints.</returns>
|
||||||
public IDictionary<string, IRouteConstraint> Build()
|
public IDictionary<string, IRouteConstraint> Build()
|
||||||
{
|
{
|
||||||
var constraints = new Dictionary<string, IRouteConstraint>(StringComparer.OrdinalIgnoreCase);
|
var constraints = new Dictionary<string, IRouteConstraint>(StringComparer.OrdinalIgnoreCase);
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using System.Globalization;
|
||||||
namespace Microsoft.AspNetCore.Routing
|
namespace Microsoft.AspNetCore.Routing
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="IEqualityComparer{object}"/> implementation that compares objects as-if
|
/// An <see cref="IEqualityComparer{Object}"/> implementation that compares objects as-if
|
||||||
/// they were route value strings.
|
/// they were route value strings.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,9 @@
|
||||||
},
|
},
|
||||||
"compilationOptions": {
|
"compilationOptions": {
|
||||||
"warningsAsErrors": true,
|
"warningsAsErrors": true,
|
||||||
"keyFile": "../../tools/Key.snk"
|
"keyFile": "../../tools/Key.snk",
|
||||||
|
"nowarn": [ "CS1591" ],
|
||||||
|
"xmlDoc": true
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
|
"Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue