2 overrides of DisplayName
Microsoft.AspNetCore.Mvc.Core (1)
Controllers\ControllerActionDescriptor.cs (1)
46public override string? DisplayName
Microsoft.AspNetCore.Mvc.RazorPages (1)
PageActionDescriptor.cs (1)
65public override string? DisplayName
59 writes to DisplayName
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
107DisplayName = routeEndpoint.DisplayName,
Microsoft.AspNetCore.Mvc.Core (2)
Controllers\ControllerActionDescriptor.cs (2)
52base.DisplayName = string.Format( 67base.DisplayName = value;
Microsoft.AspNetCore.Mvc.Core.Test (52)
Infrastructure\ActionSelectionTableTest.cs (25)
24DisplayName = "A1", 33DisplayName = "A2", 60DisplayName = "A1", 70DisplayName = "A2", 100DisplayName = "A1", 110DisplayName = "A2", 139DisplayName = "A1", 148DisplayName = "A2", 174DisplayName = "A1", 183DisplayName = "A2", 209DisplayName = "A1", 218DisplayName = "A2", 244DisplayName = "A1", 274DisplayName = "A1", 307DisplayName = "A1", 316DisplayName = "A2", 325DisplayName = "A3", 356DisplayName = "A1", 365DisplayName = "A2", 374DisplayName = "A3", 402DisplayName = "A1", 433DisplayName = "A1", 464DisplayName = "A1", 495DisplayName = "A1", 524DisplayName = "A1",
Infrastructure\ActionSelectorTest.cs (24)
34DisplayName = "A1", 43DisplayName = "A2", 73DisplayName = "A1", 83DisplayName = "A2", 115DisplayName = "A1", 124DisplayName = "A2", 153DisplayName = "A1", 162DisplayName = "A2", 191DisplayName = "A1", 227DisplayName = "A1", 236DisplayName = "A2", 245DisplayName = "A3", 279DisplayName = "A1", 288DisplayName = "A2", 297DisplayName = "A3", 328DisplayName = "A1", 362DisplayName = "A1", 396DisplayName = "A1", 430DisplayName = "A1", 464DisplayName = "A1", 500new ActionDescriptor() { DisplayName = "A1" }, 501new ActionDescriptor() { DisplayName = "A2" }, 828actions[0].DisplayName = "Ambiguous1"; 829actions[1].DisplayName = "Ambiguous2";
MvcCoreLoggerExtensionsTest.cs (2)
77DisplayName = "foobar", 106DisplayName = "/Pages/Foo",
Routing\AttributeRoutingTest.cs (1)
151DisplayName = displayName,
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageActionDescriptor.cs (2)
71base.DisplayName = ViewEnginePath; 81base.DisplayName = value;
Microsoft.AspNetCore.Mvc.Test (2)
Routing\ActionConstraintMatcherPolicyTest.cs (2)
24new ActionDescriptor() { DisplayName = "A1" }, 25new ActionDescriptor() { DisplayName = "A2" },
31 references to DisplayName
BasicWebSite (1)
ValueProviders\CustomValueProviderFactory.cs (1)
21{ "customValueProviderDisplayName", context => context.ActionContext.ActionDescriptor.DisplayName },
Identity.ExternalClaims (1)
Pages\Account\Manage\ManageNavPages.cs (1)
33?? System.IO.Path.GetFileNameWithoutExtension(viewContext.ActionDescriptor.DisplayName);
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\Manage\ManageNavPages.cs (2)
117?? Path.GetFileNameWithoutExtension(viewContext.ActionDescriptor.DisplayName); 176?? Path.GetFileNameWithoutExtension(viewContext.ActionDescriptor.DisplayName);
Areas\Identity\Pages\V5\Account\Manage\ManageNavPages.cs (2)
117?? Path.GetFileNameWithoutExtension(viewContext.ActionDescriptor.DisplayName); 176?? Path.GetFileNameWithoutExtension(viewContext.ActionDescriptor.DisplayName);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
763Assert.Equal("FOO", apiDescription.ActionDescriptor.DisplayName);
Microsoft.AspNetCore.Mvc.Core (16)
Controllers\ControllerActionDescriptor.cs (2)
50if (base.DisplayName == null && ControllerTypeInfo != null && MethodInfo != null) 60return base.DisplayName!;
Infrastructure\ActionSelector.cs (2)
100finalMatches.Select(a => a.DisplayName)); 210candidate.Action.DisplayName,
Infrastructure\ResourceInvoker.Log.cs (4)
44PageExecuting(logger, stringBuilder.ToString(), action.DisplayName); 61ActionExecuting(logger, stringBuilder.ToString(), action.DisplayName); 105PageExecuted(logger, action.DisplayName, timeSpan.TotalMilliseconds); 109ActionExecuted(logger, action.DisplayName, timeSpan.TotalMilliseconds);
MvcCoreLoggerExtensions.cs (2)
301return new KeyValuePair<string, object>("ActionName", _action.DisplayName ?? string.Empty); 321return _action.DisplayName ?? string.Empty;
Routing\ActionEndpointFactory.cs (3)
63DisplayName = action.DisplayName, 107DisplayName = action.DisplayName, 153DisplayName = action.DisplayName,
Routing\AttributeRoute.cs (1)
167e.ActionDescriptor.DisplayName,
Routing\MvcAttributeRouteHandler.cs (1)
79actionDescriptor.DisplayName));
Routing\MvcRouteHandler.cs (1)
67actionDescriptor.DisplayName));
Microsoft.AspNetCore.Mvc.Core.Test (4)
Infrastructure\ActionSelectionTableTest.cs (1)
560displayName: a.DisplayName);
Infrastructure\ActionSelectorTest.cs (1)
506var actionNames = string.Join(Environment.NewLine, actions.Select(action => action.DisplayName));
MvcCoreLoggerExtensionsTest.cs (2)
91$"Route matched with {expectedRouteValuesLogMessage}. Executing action {action.DisplayName}", 120$"Route matched with {expectedRouteValuesLogMessage}. Executing page {action.DisplayName}",
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
PageLoaderMatcherPolicyTest.cs (1)
93$"test: {action?.DisplayName}");
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageActionDescriptor.cs (2)
69if (base.DisplayName == null && ViewEnginePath != null) 74return base.DisplayName;
Microsoft.AspNetCore.Mvc.Test (1)
Routing\ActionConstraintMatcherPolicyTest.cs (1)
482$"test: {action?.DisplayName}");