зеркало из https://github.com/aspnet/Localization.git
Enabled xml doc generation
This commit is contained in:
Родитель
0d6d596219
Коммит
324f586eeb
|
@ -1,12 +1,7 @@
|
|||
{
|
||||
"adx": { // Packages written by the ADX team and that ship on NuGet.org
|
||||
"rules": [
|
||||
"AssemblyHasDocumentFileRule",
|
||||
"AssemblyHasVersionAttributesRule",
|
||||
"AssemblyHasServicingAttributeRule",
|
||||
"AssemblyHasNeutralResourcesLanguageAttributeRule",
|
||||
"SatellitePackageRule",
|
||||
"StrictSemanticVersionValidationRule"
|
||||
"AdxVerificationCompositeRule"
|
||||
],
|
||||
"packages": {
|
||||
"Microsoft.AspNetCore.Localization": { },
|
||||
|
@ -17,12 +12,7 @@
|
|||
},
|
||||
"Default": { // Rules to run for packages not listed in any other set.
|
||||
"rules": [
|
||||
"AssemblyHasDocumentFileRule",
|
||||
"AssemblyHasVersionAttributesRule",
|
||||
"AssemblyHasServicingAttributeRule",
|
||||
"AssemblyHasNeutralResourcesLanguageAttributeRule",
|
||||
"SatellitePackageRule",
|
||||
"StrictSemanticVersionValidationRule"
|
||||
"DefaultCompositeRule"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Localization
|
|||
/// <summary>
|
||||
/// 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
|
||||
/// <see cref="RequestLocalizationOptions.DefaultRequestCulture"/>.
|
||||
/// <see cref="Builder.RequestLocalizationOptions.DefaultRequestCulture"/>.
|
||||
/// </summary>
|
||||
IRequestCultureProvider Provider { get; }
|
||||
}
|
||||
|
|
|
@ -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-*",
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace Microsoft.Extensions.Localization
|
|||
IEnumerable<LocalizedString> GetAllStrings(bool includeParentCultures);
|
||||
|
||||
/// <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>
|
||||
/// <param name="culture">The <see cref="CultureInfo"/> to use.</param>
|
||||
/// <returns>A culture-specific <see cref="IStringLocalizer"/>.</returns>
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
namespace Microsoft.Extensions.Localization
|
||||
{
|
||||
/// <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>
|
||||
/// <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
|
||||
{
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ using System.Globalization;
|
|||
namespace Microsoft.Extensions.Localization
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides strings for <see cref="TResourceSource"/>.
|
||||
/// Provides strings for <typeparamref name="TResourceSource"/>.
|
||||
/// </summary>
|
||||
/// <typeparam name="TResourceSource">The <see cref="System.Type"/> to provide strings for.</typeparam>
|
||||
public class StringLocalizer<TResourceSource> : IStringLocalizer<TResourceSource>
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-*",
|
||||
|
|
Загрузка…
Ссылка в новой задаче