Enabled xml doc generation

This commit is contained in:
Ajay Bhargav Baaskaran 2016-02-18 16:58:35 -08:00
parent 0d6d596219
commit 324f586eeb
9 changed files with 19 additions and 21 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.Localization": { }, "Microsoft.AspNetCore.Localization": { },
@ -17,12 +12,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

@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Localization
/// <summary> /// <summary>
/// The <see cref="IRequestCultureProvider"/> that determined the request's culture information. /// The <see cref="IRequestCultureProvider"/> that determined the request's culture information.
/// If the value is <c>null</c> then no provider was used and the request's culture was set to the value of /// If the value is <c>null</c> then no provider was used and the request's culture was set to the value of
/// <see cref="RequestLocalizationOptions.DefaultRequestCulture"/>. /// <see cref="Builder.RequestLocalizationOptions.DefaultRequestCulture"/>.
/// </summary> /// </summary>
IRequestCultureProvider Provider { get; } IRequestCultureProvider Provider { get; }
} }

View File

@ -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-*",

View File

@ -7,7 +7,9 @@
}, },
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ],
"xmlDoc": true
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},

View File

@ -36,7 +36,7 @@ namespace Microsoft.Extensions.Localization
IEnumerable<LocalizedString> GetAllStrings(bool includeParentCultures); IEnumerable<LocalizedString> GetAllStrings(bool includeParentCultures);
/// <summary> /// <summary>
/// Creates a new <see cref="ResourceManagerStringLocalizer"/> for a specific <see cref="CultureInfo"/>. /// Creates a new <see cref="IStringLocalizer"/> for a specific <see cref="CultureInfo"/>.
/// </summary> /// </summary>
/// <param name="culture">The <see cref="CultureInfo"/> to use.</param> /// <param name="culture">The <see cref="CultureInfo"/> to use.</param>
/// <returns>A culture-specific <see cref="IStringLocalizer"/>.</returns> /// <returns>A culture-specific <see cref="IStringLocalizer"/>.</returns>

View File

@ -4,9 +4,9 @@
namespace Microsoft.Extensions.Localization namespace Microsoft.Extensions.Localization
{ {
/// <summary> /// <summary>
/// Represents an <see cref="IStringLocalizer"/> that provides strings for <see cref="T"/>. /// Represents an <see cref="IStringLocalizer"/> that provides strings for <typeparamref name="T"/>.
/// </summary> /// </summary>
/// <typeparam name="T">The <see cref="Type"/> to provide strings for.</typeparam> /// <typeparam name="T">The <see cref="System.Type"/> to provide strings for.</typeparam>
public interface IStringLocalizer<T> : IStringLocalizer public interface IStringLocalizer<T> : IStringLocalizer
{ {

View File

@ -8,7 +8,7 @@ using System.Globalization;
namespace Microsoft.Extensions.Localization namespace Microsoft.Extensions.Localization
{ {
/// <summary> /// <summary>
/// Provides strings for <see cref="TResourceSource"/>. /// Provides strings for <typeparamref name="TResourceSource"/>.
/// </summary> /// </summary>
/// <typeparam name="TResourceSource">The <see cref="System.Type"/> to provide strings for.</typeparam> /// <typeparam name="TResourceSource">The <see cref="System.Type"/> to provide strings for.</typeparam>
public class StringLocalizer<TResourceSource> : IStringLocalizer<TResourceSource> public class StringLocalizer<TResourceSource> : IStringLocalizer<TResourceSource>

View File

@ -7,7 +7,9 @@
}, },
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ],
"xmlDoc": true
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},

View File

@ -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.Extensions.PlatformAbstractions": "1.0.0-*", "Microsoft.Extensions.PlatformAbstractions": "1.0.0-*",