4 implementations of Convert
Microsoft.AspNetCore.Mvc.Core (1)
ActionResultOfT.cs (1)
78
IActionResult IConvertToActionResult.
Convert
()
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ActionMethodExecutorTest.cs (1)
511
public IActionResult
Convert
() => null;
Infrastructure\ActionResultTypeMapperTest.cs (1)
107
public IActionResult
Convert
() => new EmptyResult();
Infrastructure\ControllerActionInvokerTest.cs (1)
1978
public IActionResult
Convert
() => new TestActionResult { Value = Value };
7 references to Convert
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionResultTypeMapper.cs (1)
31
return converter.
Convert
();
Microsoft.AspNetCore.Mvc.Core.Test (6)
ActionResultOfTTest.cs (4)
53
var result = convertToActionResult.
Convert
();
68
var result = convertToActionResult.
Convert
();
86
var result = convertToActionResult.
Convert
();
104
var result = convertToActionResult.
Convert
();
Infrastructure\ActionResultTypeMapperTest.cs (1)
18
var returnValue = Mock.Of<IConvertToActionResult>(r => r.
Convert
() == expected);
Infrastructure\ControllerActionInvokerTest.cs (1)
1933
mock.Setup(m => m.
Convert
()).Returns((IActionResult)null);