8 references to ActionResult
Microsoft.AspNetCore.Mvc.Core (1)
ActionResultOfT.cs (1)
66
return new
ActionResult
<TValue>(value);
Microsoft.AspNetCore.Mvc.Core.Test (7)
ActionResultOfTTest.cs (5)
18
var ex = Assert.Throws<ArgumentException>(() => new
ActionResult
<FileStreamResult>(value: input));
40
var ex = Assert.Throws<ArgumentException>(() => new
ActionResult
<TestResult>(value: result));
64
var actionResultOfT = new
ActionResult
<BaseItem>(value);
82
var actionResultOfT = new
ActionResult
<ProblemDetails>(value);
100
var actionResultOfT = new
ActionResult
<BaseItem>(value);
Infrastructure\ActionMethodExecutorTest.cs (2)
468
public ActionResult<TestModel> ReturnsActionResultOfT() => new
ActionResult
<TestModel>(new TestModel());
502
public Task<ActionResult<TestModel>> ReturnActionResultOFTAsync() => Task.FromResult(new
ActionResult
<TestModel>(new TestModel()));