Quick fix: Another typo in the same resource name

This commit is contained in:
Doug Bunting 2016-03-26 17:36:38 -07:00
parent ea9acda0b8
commit 749a51e9ae
3 changed files with 6 additions and 6 deletions

View File

@ -150,7 +150,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
/// <inheritdoc />
public sealed override Task WriteResponseBodyAsync(OutputFormatterWriteContext context)
{
var message = Resources.FormatTextOutpurFormatter_WriteResponseBodyAsyncNotSupported(
var message = Resources.FormatTextOutputFormatter_WriteResponseBodyAsyncNotSupported(
$"{nameof(WriteResponseBodyAsync)}({nameof(OutputFormatterWriteContext)})",
nameof(TextOutputFormatter),
$"{nameof(WriteResponseBodyAsync)}({nameof(OutputFormatterWriteContext)},{nameof(Encoding)})");

View File

@ -1117,17 +1117,17 @@ namespace Microsoft.AspNetCore.Mvc.Core
/// <summary>
/// '{0}' is not supported by '{1}'. Use '{2}' instead.
/// </summary>
internal static string TextOutpurFormatter_WriteResponseBodyAsyncNotSupported
internal static string TextOutputFormatter_WriteResponseBodyAsyncNotSupported
{
get { return GetString("TextOutpurFormatter_WriteResponseBodyAsyncNotSupported"); }
get { return GetString("TextOutputFormatter_WriteResponseBodyAsyncNotSupported"); }
}
/// <summary>
/// '{0}' is not supported by '{1}'. Use '{2}' instead.
/// </summary>
internal static string FormatTextOutpurFormatter_WriteResponseBodyAsyncNotSupported(object p0, object p1, object p2)
internal static string FormatTextOutputFormatter_WriteResponseBodyAsyncNotSupported(object p0, object p1, object p2)
{
return string.Format(CultureInfo.CurrentCulture, GetString("TextOutpurFormatter_WriteResponseBodyAsyncNotSupported"), p0, p1, p2);
return string.Format(CultureInfo.CurrentCulture, GetString("TextOutputFormatter_WriteResponseBodyAsyncNotSupported"), p0, p1, p2);
}
/// <summary>

View File

@ -334,7 +334,7 @@
<data name="TextOutputFormatter_SupportedEncodingsMustNotBeEmpty" xml:space="preserve">
<value>The list of '{0}' must not be empty. Add at least one supported encoding.</value>
</data>
<data name="TextOutpurFormatter_WriteResponseBodyAsyncNotSupported" xml:space="preserve">
<data name="TextOutputFormatter_WriteResponseBodyAsyncNotSupported" xml:space="preserve">
<value>'{0}' is not supported by '{1}'. Use '{2}' instead.</value>
</data>
<data name="Formatter_NoMediaTypes" xml:space="preserve">