1 write to PreserveMethod
Microsoft.AspNetCore.Mvc.Core (1)
LocalRedirectResult.cs (1)
51PreserveMethod = preserveMethod;
22 references to PreserveMethod
Microsoft.AspNetCore.Mvc.Core (3)
ControllerBase.cs (2)
409/// false and <see cref="LocalRedirectResult.PreserveMethod"/> set to true 424/// true and <see cref="LocalRedirectResult.PreserveMethod"/> set to true
Infrastructure\LocalRedirectResultExecutor.cs (1)
52if (result.PreserveMethod)
Microsoft.AspNetCore.Mvc.Core.Test (7)
ControllerBaseTest.cs (4)
150Assert.False(result.PreserveMethod); 167Assert.False(result.PreserveMethod); 184Assert.True(result.PreserveMethod); 201Assert.True(result.PreserveMethod);
LocalRedirectResultTest.cs (3)
27Assert.False(result.PreserveMethod); 42Assert.False(result.PreserveMethod); 57Assert.True(result.PreserveMethod);
Microsoft.AspNetCore.Mvc.RazorPages (4)
PageBase.cs (2)
433/// false and <see cref="LocalRedirectResult.PreserveMethod"/> set to true 447/// true and <see cref="LocalRedirectResult.PreserveMethod"/> set to true
PageModel.cs (2)
740/// false and <see cref="LocalRedirectResult.PreserveMethod"/> set to true 754/// true and <see cref="LocalRedirectResult.PreserveMethod"/> set to true
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
PageModelTest.cs (4)
141Assert.False(result.PreserveMethod); 158Assert.False(result.PreserveMethod); 175Assert.True(result.PreserveMethod); 192Assert.True(result.PreserveMethod);
PageTest.cs (4)
161Assert.False(result.PreserveMethod); 178Assert.False(result.PreserveMethod); 195Assert.True(result.PreserveMethod); 212Assert.True(result.PreserveMethod);