6 writes to Result
BasicWebSite (1)
Controllers\AsyncActionsController.cs (1)
20
context.
Result
= Content($"Action exception message: {context.Exception.Message}");
Microsoft.AspNetCore.Mvc.Core (3)
Infrastructure\ControllerActionInvoker.cs (3)
156
Result
= _actionExecutingContext.Result,
202
Result
= _actionExecutingContext.Result,
264
Result
= _result,
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ControllerActionInvokerTest.cs (1)
664
c.
Result
= result.Object;
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
CommonFilterTest.cs (1)
206
Result
= context.Result,
42 references to Result
BasicWebSite (7)
Controllers\ContentNegotiation\FormatFilterController.cs (1)
31
var result = context.
Result
as ObjectResult;
Controllers\ContentNegotiation\NoContentDoNotTreatNullValueAsNoContentController.cs (1)
14
var result = context.
Result
as ObjectResult;
Controllers\ContentNegotiation\NoProducesContentOnClassController.cs (1)
14
var result = context.
Result
as ObjectResult;
Controllers\ContentNegotiation\NormalController.cs (1)
33
var result = context.
Result
as ObjectResult;
Controllers\ContentNegotiation\ProducesContentBaseController.cs (1)
15
var result = context.
Result
as ObjectResult;
Controllers\ContentNegotiation\ProducesContentOnClassController.cs (1)
15
var result = context.
Result
as ObjectResult;
Controllers\ContentNegotiation\ProducesWithMediaTypeParametersController.cs (1)
15
var result = context.
Result
as ObjectResult;
FormatterWebSite (2)
Controllers\DataContractSerializerController.cs (1)
17
var result = context.
Result
as ObjectResult;
Controllers\XmlSerializerController.cs (1)
14
var result = context.
Result
as ObjectResult;
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ControllerActionInvoker.cs (1)
277
_result = actionExecutedContext.
Result
;
Microsoft.AspNetCore.Mvc.Core.Test (32)
Infrastructure\ControllerActionInvokerTest.cs (32)
273
.Callback<ActionExecutedContext>(c => result = c.
Result
)
300
result = resultContext.
Result
;
371
Assert.Same(context.
Result
, result.Object);
440
Assert.Same(context.
Result
, result.Object);
495
Assert.Null(context.
Result
);
555
Assert.Null(context.
Result
);
598
Assert.Null(context.
Result
);
641
Assert.Null(context.
Result
);
865
.Callback<ActionExecutedContext>(c => result = c.
Result
)
890
.Callback<ActionExecutedContext>(c => result = c.
Result
)
916
.Callback<ActionExecutedContext>(c => result = c.
Result
)
939
.Callback<ActionExecutedContext>(c => result = c.
Result
)
962
.Callback<ActionExecutedContext>(c => result = c.
Result
)
985
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1009
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1032
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1059
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1085
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1112
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1141
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1169
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1199
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1222
.Callback<ActionExecutedContext>(c => result = c.
Result
);
1248
.Callback<ActionExecutedContext>(c => result = c.
Result
);
1278
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1308
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1337
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1365
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1460
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1485
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1509
.Callback<ActionExecutedContext>(c => result = c.
Result
)
1533
.Callback<ActionExecutedContext>(c => result = c.
Result
)