1 write to ParameterKind
Microsoft.AspNetCore.Routing (1)
Patterns\RoutePatternParameterPart.cs (1)
41ParameterKind = parameterKind;
10 references to ParameterKind
Microsoft.AspNetCore.Routing (4)
Patterns\DefaultRoutePatternTransformer.cs (1)
228var updatedParameter = RoutePatternFactory.ParameterPart(parameter.Name, @default: null, parameter.ParameterKind, parameter.ParameterPolicies);
Patterns\RoutePatternFactory.cs (1)
637parameter.ParameterKind,
Patterns\RoutePatternParameterPart.cs (2)
65public bool IsCatchAll => ParameterKind == RoutePatternParameterKind.CatchAll; 71public bool IsOptional => ParameterKind == RoutePatternParameterKind.Optional;
Microsoft.AspNetCore.Routing.Tests (6)
Patterns\InlineRouteParameterParserTest.cs (4)
946Assert.Equal(RoutePatternParameterKind.CatchAll, parameterPart.ParameterKind); 961Assert.Equal(RoutePatternParameterKind.CatchAll, parameterPart.ParameterKind); 977Assert.Equal(RoutePatternParameterKind.CatchAll, parameterPart.ParameterKind); 995Assert.Equal(RoutePatternParameterKind.CatchAll, parameterPart.ParameterKind);
Patterns\RoutePatternParserTest.cs (2)
731x.ParameterKind == y.ParameterKind &&