1 write to Url
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
62
Url
= url;
21 references to Url
Microsoft.AspNetCore.Http.Results (3)
RedirectHttpResult.cs (3)
97
var isLocalUrl = SharedUrlHelper.IsLocalUrl(
Url
);
105
var destinationUrl = isLocalUrl ? SharedUrlHelper.Content(httpContext, contentPath:
Url
) :
Url
;
Microsoft.AspNetCore.Http.Results.Tests (18)
LocalRedirectResultTests.cs (3)
24
Assert.Same(url, result.
Url
);
39
Assert.Same(url, result.
Url
);
54
Assert.Same(url, result.
Url
);
RedirectResultTests.cs (1)
22
Assert.Same(url, result.
Url
);
ResultsTests.cs (7)
1096
Assert.Equal(localUrl, result.
Url
);
1113
Assert.Equal(localUrl, result.
Url
);
1131
Assert.Equal(localUrl, result.
Url
);
1149
Assert.Equal(localUrl, result.
Url
);
1479
Assert.Equal(url, result.
Url
);
1495
Assert.Equal(url, result.
Url
);
1511
Assert.Equal(url, result.
Url
);
TypedResultsTests.cs (7)
940
Assert.Equal(localUrl, result.
Url
);
957
Assert.Equal(localUrl, result.
Url
);
975
Assert.Equal(localUrl, result.
Url
);
993
Assert.Equal(localUrl, result.
Url
);
1261
Assert.Equal(url, result.
Url
);
1277
Assert.Equal(url, result.
Url
);
1293
Assert.Equal(url, result.
Url
);