8 references to RoutePartsEqual
Microsoft.AspNetCore.Routing (6)
Template\TemplateBinder.cs (6)
227
if (!
RoutePartsEqual
(ambientValue, _pattern.RequiredValues[key]) &&
234
if (hasExplicitValue && !
RoutePartsEqual
(value, ambientValue))
274
if (hasExplicitValue && hasAmbientValue && !
RoutePartsEqual
(ambientValue, value))
315
(
RoutePartsEqual
(requiredValue, ambientValue) || RoutePattern.IsRequiredValueAny(requiredValue)))
368
if (!
RoutePartsEqual
(value, filters[i].Value))
549
RoutePartsEqual
(value, defaultValue))
Microsoft.AspNetCore.Routing.Tests (2)
Template\TemplateBinderTests.cs (2)
1219
Assert.True(TemplateBinder.
RoutePartsEqual
(left, right));
1223
Assert.False(TemplateBinder.
RoutePartsEqual
(left, right));