4 implementations of IConvertToActionResult
Microsoft.AspNetCore.Mvc.Core (1)
ActionResultOfT.cs (1)
14
public sealed class ActionResult<TValue> :
IConvertToActionResult
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ActionMethodExecutorTest.cs (1)
509
private class CustomConvertibleFromAction :
IConvertToActionResult
Infrastructure\ActionResultTypeMapperTest.cs (1)
105
private class CustomConvertibleIResult :
IConvertToActionResult
, IResult
Infrastructure\ControllerActionInvokerTest.cs (1)
1974
public class ConvertibleToActionResult :
IConvertToActionResult
14 references to IConvertToActionResult
Microsoft.AspNetCore.Mvc.Core (2)
ActionResultOfT.cs (1)
78
IActionResult
IConvertToActionResult
.Convert()
Infrastructure\ActionResultTypeMapper.cs (1)
29
if (value is
IConvertToActionResult
converter)
Microsoft.AspNetCore.Mvc.Core.Test (12)
ActionResultOfTTest.cs (8)
50
var
convertToActionResult = (
IConvertToActionResult
)actionResultOfT;
65
var
convertToActionResult = (
IConvertToActionResult
)actionResultOfT;
83
var
convertToActionResult = (
IConvertToActionResult
)actionResultOfT;
101
var
convertToActionResult = (
IConvertToActionResult
)actionResultOfT;
Infrastructure\ActionResultTypeMapperTest.cs (2)
18
var
returnValue = Mock.Of<
IConvertToActionResult
>(r => r.Convert() == expected);
Infrastructure\ControllerActionInvokerTest.cs (2)
1930
public
IConvertToActionResult
ConvertibleToActionResultReturningNull()
1932
var mock = new Mock<
IConvertToActionResult
>();