Make GetSupportedContentTypes on InputFormatter vitual

This commit is contained in:
jacalvar 2016-02-05 19:37:33 -08:00
parent a33369acd8
commit 63354e25a8
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
public abstract Task<InputFormatterResult> ReadRequestBodyAsync(InputFormatterContext context);
/// <inheritdoc />
public IReadOnlyList<string> GetSupportedContentTypes(string contentType, Type objectType)
public virtual IReadOnlyList<string> GetSupportedContentTypes(string contentType, Type objectType)
{
if (!CanReadType(objectType))
{