changed GetFormat to virtual
This commit is contained in:
parent
e74aa54d95
commit
f567258f14
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue