1 write to _path
Microsoft.AspNetCore.Routing (1)
UriBuildingContext.cs (1)
30
_path
= new StringBuilder();
25 references to _path
Microsoft.AspNetCore.Routing (25)
UriBuildingContext.cs (25)
33
PathWriter = new StringWriter(
_path
);
102
_path
.Append(bufferValue);
109
if (
_path
.Length != 0)
111
_path
.Append('/');
118
_lastValueOffset =
_path
.Length;
122
if (
_path
.Length == 0 && value.Length > 0 && value[0] == '/')
124
_path
.Append('/');
138
_path
.Length = _lastValueOffset;
178
if (
_path
.Length != 0 || _buffer.Count != 0)
198
_path
.Clear();
199
if (
_path
.Capacity > 128)
202
_path
.Capacity = 128;
231
if (
_path
.Length > 0 &&
_path
[0] != '/')
234
_path
.Insert(0, '/');
237
return
_path
.ToString() + _query.ToString();
245
if (
_path
.Length > 0)
247
if (
_path
[0] != '/')
250
_path
.Insert(0, '/');
253
if (AppendTrailingSlash &&
_path
[
_path
.Length - 1] != '/')
255
_path
.Append('/');
258
pathString = new PathString(
_path
.ToString());
305
_path
.Append('/');
320
return $@"Accepted = ""{
_path
}"", Buffered = ""{string.Join("", _buffer)}""";