5 references to EncodeValue
Microsoft.AspNetCore.Routing (2)
UriBuildingContext.cs (2)
125
EncodeValue
(value, 1, value.Length - 1, encodeSlashes);
287
EncodeValue
(value, start: 0, characterCount: value.Length, encodeSlashes);
Microsoft.AspNetCore.Routing.Tests (3)
UriBuildingContextTest.cs (3)
20
uriBuilldingContext.
EncodeValue
(value, 0, value.Length, encodeSlashes: true);
36
uriBuilldingContext.
EncodeValue
(value, 0, value.Length, encodeSlashes: false);
62
uriBuilldingContext.
EncodeValue
(value, startIndex, characterCount, encodeSlashes: false);