1 write to Default
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\Patterns\RoutePatternParameterPart.cs (1)
40
Default
= @default;
12 references to Default
Microsoft.AspNetCore.Components (12)
src\Http\Routing\src\Patterns\RoutePatternFactory.cs (6)
579
var @default = parameter.
Default
;
583
if (parameter.
Default
!= null && !Equals(newDefault, parameter.
Default
))
598
if (parameter.
Default
!= null)
605
updatedDefaults[parameter.Name] = parameter.
Default
;
626
if (Equals(parameter.
Default
, @default)
src\Http\Routing\src\Patterns\RoutePatternParameterPart.cs (2)
105
if (
Default
!= null)
108
builder.Append(
Default
);
src\Http\Routing\src\Patterns\RoutePatternParser.cs (1)
223
if (templatePart.IsOptional && templatePart.
Default
!= null)
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (2)
158
if (parameter.
Default
!= null)
160
entry.Defaults.Add(parameter.Name, parameter.
Default
);
src\Http\Routing\src\Tree\UrlMatchingTree.cs (1)
275
parameterPart.
Default
!= null);