1 write to Permanent
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
63
Permanent
= permanent;
20 references to Permanent
Microsoft.AspNetCore.Http.Results (2)
RedirectHttpResult.cs (2)
111
httpContext.Response.StatusCode =
Permanent
118
httpContext.Response.Redirect(destinationUrl,
Permanent
);
Microsoft.AspNetCore.Http.Results.Tests (18)
LocalRedirectResultTests.cs (3)
23
Assert.False(result.
Permanent
);
38
Assert.True(result.
Permanent
);
53
Assert.True(result.
Permanent
);
RedirectResultTests.cs (1)
21
Assert.True(result.
Permanent
);
ResultsTests.cs (7)
1098
Assert.False(result.
Permanent
);
1115
Assert.True(result.
Permanent
);
1133
Assert.True(result.
Permanent
);
1151
Assert.True(result.
Permanent
);
1481
Assert.False(result.
Permanent
);
1497
Assert.True(result.
Permanent
);
1513
Assert.False(result.
Permanent
);
TypedResultsTests.cs (7)
942
Assert.False(result.
Permanent
);
959
Assert.True(result.
Permanent
);
977
Assert.True(result.
Permanent
);
995
Assert.True(result.
Permanent
);
1263
Assert.False(result.
Permanent
);
1279
Assert.True(result.
Permanent
);
1295
Assert.False(result.
Permanent
);