From 749a51e9aecbcb8772f47280083b1e2422fc7e5a Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Sat, 26 Mar 2016 17:36:38 -0700 Subject: [PATCH] Quick fix: Another typo in the same resource name --- .../Formatters/TextOutputFormatter.cs | 2 +- .../Properties/Resources.Designer.cs | 8 ++++---- src/Microsoft.AspNetCore.Mvc.Core/Resources.resx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs index 3b55d46075..8f7f3df05c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/TextOutputFormatter.cs @@ -150,7 +150,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// 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)})"); diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs index 534e48688f..86d35c8870 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Properties/Resources.Designer.cs @@ -1117,17 +1117,17 @@ namespace Microsoft.AspNetCore.Mvc.Core /// /// '{0}' is not supported by '{1}'. Use '{2}' instead. /// - internal static string TextOutpurFormatter_WriteResponseBodyAsyncNotSupported + internal static string TextOutputFormatter_WriteResponseBodyAsyncNotSupported { - get { return GetString("TextOutpurFormatter_WriteResponseBodyAsyncNotSupported"); } + get { return GetString("TextOutputFormatter_WriteResponseBodyAsyncNotSupported"); } } /// /// '{0}' is not supported by '{1}'. Use '{2}' instead. /// - 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); } /// diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Resources.resx b/src/Microsoft.AspNetCore.Mvc.Core/Resources.resx index 6ca9082df3..a73517b6bc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Resources.resx +++ b/src/Microsoft.AspNetCore.Mvc.Core/Resources.resx @@ -334,7 +334,7 @@ The list of '{0}' must not be empty. Add at least one supported encoding. - + '{0}' is not supported by '{1}'. Use '{2}' instead.