35 references to Result
Microsoft.AspNetCore.Mvc.Core.Test (6)
Infrastructure\ControllerActionInvokerTest.cs (6)
276
var invoker = CreateInvoker(filter.Object, result:
Result
);
285
Assert.Same(
Result
, result);
304
var invoker = CreateInvoker(filter.Object, result:
Result
);
314
Assert.Same(
Result
, result);
1613
if (result ==
Result
)
1784
return
Result
;
Microsoft.AspNetCore.Mvc.Core.TestCommon (25)
CommonResourceInvokerTest.cs (25)
865
var invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object, filter3.Object }, result:
Result
);
879
Assert.Same(
Result
, context.Result);
907
var invoker = CreateInvoker(new IFilterMetadata[] { filter1.Object, filter2.Object, filter3.Object }, result:
Result
);
921
Assert.Same(
Result
, context.Result);
1223
var invoker = CreateInvoker(resourceFilter.Object, result:
Result
);
1229
Assert.Same(
Result
, context.Result);
1717
c.Result =
Result
;
1737
.Callback<ResultExecutingContext>(c => Assert.Same(
Result
, c.Result))
1740
.Callback<ResultExecutedContext>(c => Assert.Same(
Result
, c.Result))
1748
c.Result =
Result
;
1769
Assert.Same(
Result
, c.Result);
1779
c.Result =
Result
;
1811
c.Result =
Result
;
1840
.Callback<ResultExecutingContext>(c => Assert.Same(
Result
, c.Result))
1843
.Callback<ResultExecutedContext>(c => Assert.Same(
Result
, c.Result))
1851
c.Result =
Result
;
1872
Assert.Same(
Result
, c.Result);
1880
.Callback<ResourceExecutingContext>(c => c.Result =
Result
);
1909
.Callback<ResourceExecutingContext>(c => c.Result =
Result
);
1937
.Callback<ResultExecutingContext>(c => Assert.Same(
Result
, c.Result))
1940
.Callback<ResultExecutedContext>(c => Assert.Same(
Result
, c.Result))
1948
c.Result =
Result
;
1969
Assert.Same(
Result
, c.Result);
1977
.Callback<ExceptionContext>(c => c.Result =
Result
);
2006
.Callback<ExceptionContext>(c => c.Result =
Result
);
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\PageActionInvokerTest.cs (4)
508
var invoker = CreateInvoker(filter.Object, result:
Result
);
517
Assert.Same(
Result
, result);
537
var invoker = CreateInvoker(filter.Object, result:
Result
);
547
Assert.Same(
Result
, result);