Enabled xml doc generation

This commit is contained in:
Ajay Bhargav Baaskaran 2016-02-19 11:25:58 -08:00
parent 26e7bcfb18
commit ee5f72d3a4
5 changed files with 8 additions and 13 deletions

View File

@ -1,12 +1,7 @@
{ {
"adx": { // Packages written by the ADX team and that ship on NuGet.org "adx": { // Packages written by the ADX team and that ship on NuGet.org
"rules": [ "rules": [
"AssemblyHasDocumentFileRule", "AdxVerificationCompositeRule"
"AssemblyHasVersionAttributesRule",
"AssemblyHasServicingAttributeRule",
"AssemblyHasNeutralResourcesLanguageAttributeRule",
"SatellitePackageRule",
"StrictSemanticVersionValidationRule"
], ],
"packages": { "packages": {
"Microsoft.AspNetCore.StaticFiles": { } "Microsoft.AspNetCore.StaticFiles": { }
@ -14,12 +9,7 @@
}, },
"Default": { // Rules to run for packages not listed in any other set. "Default": { // Rules to run for packages not listed in any other set.
"rules": [ "rules": [
"AssemblyHasDocumentFileRule", "DefaultCompositeRule"
"AssemblyHasVersionAttributesRule",
"AssemblyHasServicingAttributeRule",
"AssemblyHasNeutralResourcesLanguageAttributeRule",
"SatellitePackageRule",
"StrictSemanticVersionValidationRule"
] ]
} }
} }

View File

@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.StaticFiles
/// Creates a new instance of the DefaultFilesMiddleware. /// Creates a new instance of the DefaultFilesMiddleware.
/// </summary> /// </summary>
/// <param name="next">The next middleware in the pipeline.</param> /// <param name="next">The next middleware in the pipeline.</param>
/// <param name="hostingEnv">The <see cref="IHostingEnvironment"/> used by this middleware.</param>
/// <param name="options">The configuration options for this middleware.</param> /// <param name="options">The configuration options for this middleware.</param>
public DefaultFilesMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions<DefaultFilesOptions> options) public DefaultFilesMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions<DefaultFilesOptions> options)
{ {

View File

@ -25,6 +25,7 @@ namespace Microsoft.AspNetCore.StaticFiles
/// Creates a new instance of the SendFileMiddleware. /// Creates a new instance of the SendFileMiddleware.
/// </summary> /// </summary>
/// <param name="next">The next middleware in the pipeline.</param> /// <param name="next">The next middleware in the pipeline.</param>
/// <param name="hostingEnv">The <see cref="IHostingEnvironment"/> used by this middleware.</param>
/// <param name="options">The configuration for this middleware.</param> /// <param name="options">The configuration for this middleware.</param>
public DirectoryBrowserMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions<DirectoryBrowserOptions> options) public DirectoryBrowserMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions<DirectoryBrowserOptions> options)
{ {

View File

@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.StaticFiles
/// Creates a new instance of the StaticFileMiddleware. /// Creates a new instance of the StaticFileMiddleware.
/// </summary> /// </summary>
/// <param name="next">The next middleware in the pipeline.</param> /// <param name="next">The next middleware in the pipeline.</param>
/// <param name="hostingEnv">The <see cref="IHostingEnvironment"/> used by this middleware.</param>
/// <param name="options">The configuration options.</param> /// <param name="options">The configuration options.</param>
/// <param name="loggerFactory">An <see cref="ILoggerFactory"/> instance used to create loggers.</param> /// <param name="loggerFactory">An <see cref="ILoggerFactory"/> instance used to create loggers.</param>
public StaticFileMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions<StaticFileOptions> options, ILoggerFactory loggerFactory) public StaticFileMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions<StaticFileOptions> options, ILoggerFactory loggerFactory)

View File

@ -2,7 +2,9 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ],
"xmlDoc": true
}, },
"description": "ASP.NET 5 static files middleware.", "description": "ASP.NET 5 static files middleware.",
"repository": { "repository": {