1 write to pathSegmentVariableNames
System.ServiceModel (1)
System\UriTemplate.cs (1)
1149
this.
pathSegmentVariableNames
= new List<string>();
31 references to pathSegmentVariableNames
System.ServiceModel (31)
System\UriTemplate.cs (31)
1181
this.
pathSegmentVariableNames
), null);
1201
int varIndex = this.
pathSegmentVariableNames
.IndexOf(varName);
1204
(varIndex == this.
pathSegmentVariableNames
.Count - 1))
1241
if (this.
pathSegmentVariableNames
.Contains(uppercaseVarName) ||
1247
this.
pathSegmentVariableNames
.Add(uppercaseVarName);
1286
if (this.
pathSegmentVariableNames
.Contains(uppercaseVarName) ||
1342
if ((parameters.Length < this.
pathSegmentVariableNames
.Count) ||
1343
(parameters.Length > this.
pathSegmentVariableNames
.Count + this.queryValueVariableNames.Count))
1347
this.
pathSegmentVariableNames
.Count, this.queryValueVariableNames.Count,
1352
if (parameters.Length == this.
pathSegmentVariableNames
.Count + this.queryValueVariableNames.Count)
1358
normalizedParameters = new string[this.
pathSegmentVariableNames
.Count + this.queryValueVariableNames.Count];
1375
Fx.Assert(this.
pathSegmentVariableNames
.Count > 0, "Otherwise, how can we have default values");
1377
for (int i = this.
pathSegmentVariableNames
.Count - 1; (i >= 0) && (this.firstNullablePathVariable == -1); i--)
1379
string varName = this.
pathSegmentVariableNames
[i];
1399
string varName = this.
pathSegmentVariableNames
[i];
1407
varName, this.
pathSegmentVariableNames
[i + 1])));
1417
if (this.firstNullablePathVariable < this.
pathSegmentVariableNames
.Count)
1423
this.owner.originalTemplate, this.
pathSegmentVariableNames
[this.firstNullablePathVariable])));
1425
for (int i = this.
pathSegmentVariableNames
.Count - 1; i >= this.firstNullablePathVariable; i--)
1427
int segmentIndex = this.owner.segments.Count - (this.
pathSegmentVariableNames
.Count - i);
1432
this.owner.originalTemplate, this.
pathSegmentVariableNames
[this.firstNullablePathVariable],
1442
int numNullablePathVariables = (this.
pathSegmentVariableNames
.Count - this.firstNullablePathVariable);
1485
for (int i = 0; i < this.
pathSegmentVariableNames
.Count; i++)
1489
this.defaultValues.TryGetValue(this.
pathSegmentVariableNames
[i], out normalizedParameters[i]);
1493
lastNonDefaultPathParameter = this.
pathSegmentVariableNames
.Count - 1;
1501
if (this.defaultValues.TryGetValue(this.
pathSegmentVariableNames
[lastNonDefaultPathParameter],
1533
(i == this.
pathSegmentVariableNames
.Count - 1))
1541
SR.GetString(SR.BindUriTemplateToNullOrEmptyPathParam, this.
pathSegmentVariableNames
[i]));
1577
string[] normalizedParameters = new string[this.
pathSegmentVariableNames
.Count + this.queryValueVariableNames.Count];
1594
int pathVarIndex = this.
pathSegmentVariableNames
.IndexOf(uppercaseVarName);
1603
normalizedParameters[this.
pathSegmentVariableNames
.Count + queryVarIndex] = (string.IsNullOrEmpty(value) ? string.Empty : value);