changed GetFormat to virtual

This commit is contained in:
Filip W 2016-04-15 09:02:26 -04:00 committed by Ryan Nowak
parent e74aa54d95
commit f567258f14
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
} }
/// <inheritdoc /> /// <inheritdoc />
public string GetFormat(ActionContext context) public virtual string GetFormat(ActionContext context)
{ {
object obj; object obj;
if (context.RouteData.Values.TryGetValue("format", out obj)) if (context.RouteData.Values.TryGetValue("format", out obj))
@ -159,4 +159,4 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
{ {
} }
} }
} }