6 writes to Name
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\ApplicationModelFactory.cs (1)
154
selector.AttributeRouteModel.
Name
= AttributeRouteModel.ReplaceTokens(
ApplicationModels\AttributeRouteModel.cs (3)
38
Name
= templateProvider.Name;
50
Name
= other.Name;
127
Name
= ChooseName(left, right),
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\AttributeRouteModelTests.cs (2)
16
Name
= "products",
796
Name
= name
10 references to Name
Microsoft.AspNetCore.Mvc.Core (8)
ApplicationModels\ApplicationModelFactory.cs (3)
152
if (selector.AttributeRouteModel.
Name
!= null)
155
selector.AttributeRouteModel.
Name
,
192
var routeName = selector.AttributeRouteModel?.
Name
;
ApplicationModels\AttributeRouteModel.cs (4)
50
Name = other.
Name
;
164
if (right.
Name
== null && string.IsNullOrEmpty(right.Template))
166
return left.
Name
;
170
return right.
Name
;
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
205
Name = selectorModel.AttributeRouteModel.
Name
,
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\AttributeRouteModelTests.cs (1)
277
Assert.Equal(expectedName, combined.
Name
);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionDescriptorProvider.cs (1)
96
Name = selector.AttributeRouteModel!.
Name
,