From 63354e25a83b783cf57f0ac14dfbc8ca9f0b5c8f Mon Sep 17 00:00:00 2001 From: jacalvar Date: Fri, 5 Feb 2016 19:37:33 -0800 Subject: [PATCH] Make GetSupportedContentTypes on InputFormatter vitual --- src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs index f231f3f1eb..8b9c00115f 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Formatters/InputFormatter.cs @@ -109,7 +109,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters public abstract Task ReadRequestBodyAsync(InputFormatterContext context); /// - public IReadOnlyList GetSupportedContentTypes(string contentType, Type objectType) + public virtual IReadOnlyList GetSupportedContentTypes(string contentType, Type objectType) { if (!CanReadType(objectType)) {