Implemented interface member:
14 references to Equals
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
285
if (!RouteValueEqualityComparer.Default.
Equals
(routeValue.Value, string.Empty))
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ActionSelectorTest.cs (3)
1058
.Where(a => a.RouteValues.Any(kvp => kvp.Key == "area" && comparer.
Equals
(kvp.Value, area)))
1059
.Where(a => a.RouteValues.Any(kvp => kvp.Key == "controller" && comparer.
Equals
(kvp.Value, controller)))
1060
.Where(a => a.RouteValues.Any(kvp => kvp.Key == "action" && comparer.
Equals
(kvp.Value, action)));
Microsoft.AspNetCore.Routing (9)
Matching\DfaMatcherBuilder.cs (1)
987
return !RouteValueEqualityComparer.Default.
Equals
(value, string.Empty);
Patterns\DefaultRoutePatternTransformer.cs (5)
51
if (RouteValueEqualityComparer.Default.
Equals
(kvp.Value, string.Empty))
66
!RouteValueEqualityComparer.Default.
Equals
(kvp.Value, defaultValue))
85
!RouteValueEqualityComparer.Default.
Equals
(string.Empty, defaultValue))
116
RouteValueEqualityComparer.Default.
Equals
(kvp.Value, defaultValue))
169
!RouteValueEqualityComparer.Default.
Equals
(kvp.Value, defaultValue))
Patterns\RoutePatternFactory.cs (2)
499
var found = RouteValueEqualityComparer.Default.
Equals
(string.Empty, kvp.Value);
518
RouteValueEqualityComparer.Default.
Equals
(kvp.Value, defaultValue))
Template\RoutePrecedence.cs (1)
267
!RouteValueEqualityComparer.Default.
Equals
(requiredValue, string.Empty))
Microsoft.AspNetCore.Routing.Tests (1)
RouteValueEqualityComparerTest.cs (1)
35
var actual = _comparer.
Equals
(x, y);