1 write to PreserveMethod
Microsoft.AspNetCore.Mvc.Core (1)
LocalRedirectResult.cs (1)
51
PreserveMethod
= 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)
52
if (result.
PreserveMethod
)
Microsoft.AspNetCore.Mvc.Core.Test (7)
ControllerBaseTest.cs (4)
150
Assert.False(result.
PreserveMethod
);
167
Assert.False(result.
PreserveMethod
);
184
Assert.True(result.
PreserveMethod
);
201
Assert.True(result.
PreserveMethod
);
LocalRedirectResultTest.cs (3)
27
Assert.False(result.
PreserveMethod
);
42
Assert.False(result.
PreserveMethod
);
57
Assert.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)
141
Assert.False(result.
PreserveMethod
);
158
Assert.False(result.
PreserveMethod
);
175
Assert.True(result.
PreserveMethod
);
192
Assert.True(result.
PreserveMethod
);
PageTest.cs (4)
161
Assert.False(result.
PreserveMethod
);
178
Assert.False(result.
PreserveMethod
);
195
Assert.True(result.
PreserveMethod
);
212
Assert.True(result.
PreserveMethod
);