18 references to RequiredValueAny
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
195
requiredValues[key] = RoutePattern.
RequiredValueAny
;
Microsoft.AspNetCore.Mvc.Core.Test (6)
Routing\UrlHelperTestBase.cs (6)
961
requiredValues: new { controller = RoutePattern.
RequiredValueAny
, action = RoutePattern.
RequiredValueAny
});
999
requiredValues: new { controller = RoutePattern.
RequiredValueAny
, action = RoutePattern.
RequiredValueAny
});
1040
requiredValues: new { controller = RoutePattern.
RequiredValueAny
, action = RoutePattern.
RequiredValueAny
});
Microsoft.AspNetCore.Routing (3)
Patterns\RoutePattern.cs (3)
28
/// <see cref="
RequiredValueAny
"/> is only use in routing is in <see cref="RoutePattern.RequiredValues"/>.
29
/// <see cref="
RequiredValueAny
"/> is not valid as a route value, and will convert to the null/empty string.
35
return object.ReferenceEquals(
RequiredValueAny
, value);
Microsoft.AspNetCore.Routing.Tests (8)
LinkGeneratorIntegrationTest.cs (5)
91
requiredValues: new { controller = RoutePattern.
RequiredValueAny
, action = RoutePattern.
RequiredValueAny
, area = (string)null, page = (string)null, }),
121
requiredValues: new { controller = RoutePattern.
RequiredValueAny
, action = RoutePattern.
RequiredValueAny
, area = "Admin", page = (string)null, }),
131
requiredValues: new { controller = RoutePattern.
RequiredValueAny
, action = (string)null, area = (string)null, page = (string)null, }),
Patterns\DefaultRoutePatternTransformerTest.cs (3)
72
var requiredValues = new { controller = RoutePattern.
RequiredValueAny
, };
85
kvp => Assert.Equal(new KeyValuePair<string, object>("controller", RoutePattern.
RequiredValueAny
), kvp));
112
var defaults = new { area = RoutePattern.
RequiredValueAny
};