Quick fix: Correct typo in resource name
This commit is contained in:
parent
5fe284a486
commit
ea9acda0b8
|
|
@ -150,7 +150,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
|
|||
/// <inheritdoc />
|
||||
public sealed override Task WriteResponseBodyAsync(OutputFormatterWriteContext context)
|
||||
{
|
||||
var message = Resources.FormatTextOutpurFormatter_WriteResponseBodyAsynNotSupported(
|
||||
var message = Resources.FormatTextOutpurFormatter_WriteResponseBodyAsyncNotSupported(
|
||||
$"{nameof(WriteResponseBodyAsync)}({nameof(OutputFormatterWriteContext)})",
|
||||
nameof(TextOutputFormatter),
|
||||
$"{nameof(WriteResponseBodyAsync)}({nameof(OutputFormatterWriteContext)},{nameof(Encoding)})");
|
||||
|
|
|
|||
|
|
@ -1117,17 +1117,17 @@ namespace Microsoft.AspNetCore.Mvc.Core
|
|||
/// <summary>
|
||||
/// '{0}' is not supported by '{1}'. Use '{2}' instead.
|
||||
/// </summary>
|
||||
internal static string TextOutpurFormatter_WriteResponseBodyAsynNotSupported
|
||||
internal static string TextOutpurFormatter_WriteResponseBodyAsyncNotSupported
|
||||
{
|
||||
get { return GetString("TextOutpurFormatter_WriteResponseBodyAsynNotSupported"); }
|
||||
get { return GetString("TextOutpurFormatter_WriteResponseBodyAsyncNotSupported"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// '{0}' is not supported by '{1}'. Use '{2}' instead.
|
||||
/// </summary>
|
||||
internal static string FormatTextOutpurFormatter_WriteResponseBodyAsynNotSupported(object p0, object p1, object p2)
|
||||
internal static string FormatTextOutpurFormatter_WriteResponseBodyAsyncNotSupported(object p0, object p1, object p2)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("TextOutpurFormatter_WriteResponseBodyAsynNotSupported"), p0, p1, p2);
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("TextOutpurFormatter_WriteResponseBodyAsyncNotSupported"), p0, p1, p2);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -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_WriteResponseBodyAsynNotSupported" xml:space="preserve">
|
||||
<data name="TextOutpurFormatter_WriteResponseBodyAsyncNotSupported" xml:space="preserve">
|
||||
<value>'{0}' is not supported by '{1}'. Use '{2}' instead.</value>
|
||||
</data>
|
||||
<data name="Formatter_NoMediaTypes" xml:space="preserve">
|
||||
|
|
|
|||
Loading…
Reference in New Issue