Implemented interface member:
method
DisplayName
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.DisplayName(System.String)
8 references to DisplayName
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (8)
22var displayNameResult = helper.DisplayName(expression: string.Empty); 23var displayNameNullResult = helper.DisplayName(expression: null); // null is another alias for current model 44var displayNameResult = helper.DisplayName("Property1"); 63var displayNameResult = helper.DisplayName(expression: "value"); 77var displayNameResult = helper.DisplayName("Inner.Id"); 102var displayNameResult = helper.DisplayName(expression: string.Empty); 129var displayNameResult = helper.DisplayName("Property1"); 152var result = helper.DisplayName(expression);