16 writes to Result
BasicWebSite (1)
Filters\TestExceptionFilter.cs (1)
17
context.
Result
= new ContentResult() { Content = "Exception was handled in TestExceptionFilter", StatusCode = 200 };
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
787
_exceptionContext.
Result
= new EmptyResult();
Microsoft.AspNetCore.Mvc.Core.TestCommon (14)
CommonResourceInvokerTest.cs (14)
99
context.
Result
= expected.Object;
142
context.
Result
= expected.Object;
206
context.
Result
= result.Object;
272
context.
Result
= result.Object;
341
context.
Result
= result.Object;
409
context.
Result
= result.Object;
447
context.
Result
= result.Object;
504
.Callback<ExceptionContext>(c => c.
Result
= result.Object)
532
.Callback<ExceptionContext>(c => c.
Result
= result.Object)
699
context.
Result
= new EmptyResult();
1257
c.
Result
= expected;
1948
c.
Result
= Result;
1977
.Callback<ExceptionContext>(c => c.
Result
= Result);
2006
.Callback<ExceptionContext>(c => c.
Result
= Result);
5 references to Result
Microsoft.AspNetCore.Mvc.Core (3)
Infrastructure\ResourceInvoker.cs (3)
785
if (_exceptionContext.
Result
== null)
790
_result = _exceptionContext.
Result
;
814
if (exceptionContext.
Result
!= null ||
Microsoft.AspNetCore.Mvc.Core.TestCommon (2)
CommonResourceInvokerTest.cs (2)
96
resultFromAction = context.
Result
;
139
resultFromAction = context.
Result
;