5 writes to Cancel
Microsoft.AspNetCore.Mvc.Core.TestCommon (4)
CommonFilterTest.cs (1)
170
c.
Cancel
= true;
CommonResourceInvokerTest.cs (3)
818
c.
Cancel
= true;
858
c.
Cancel
= true;
934
c.
Cancel
= true;
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Filters\PageHandlerResultFilterTest.cs (1)
107
.Callback((ResultExecutingContext context) => context.
Cancel
= true)
12 references to Cancel
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\ResultExecutedContext.cs (1)
39
/// Gets or sets an indication that a result filter set <see cref="ResultExecutingContext.
Cancel
"/> to
Microsoft.AspNetCore.Mvc.Core (7)
Filters\ActionFilterAttribute.cs (1)
64
if (!context.
Cancel
)
Filters\ControllerResultFilter.cs (1)
53
if (!context.
Cancel
)
Filters\ResultFilterAttribute.cs (1)
36
if (!context.
Cancel
)
Infrastructure\ResourceInvoker.cs (4)
1199
if (resultExecutedContext == null || resultExecutingContext.
Cancel
)
1245
if (_resultExecutingContext.
Cancel
)
1405
if (_resultExecutingContext.
Cancel
)
1433
nameof(ResultExecutingContext.
Cancel
),
Microsoft.AspNetCore.Mvc.Core.TestCommon (3)
CommonFilterTest.cs (3)
108
Assert.False(context.
Cancel
);
146
Assert.False(context.
Cancel
);
184
Assert.True(context.
Cancel
);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageHandlerResultFIlter.cs (1)
48
if (!context.
Cancel
)