Implemented interface member:
method
DisplayNameFor<TResult>
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>.DisplayNameFor<TResult>(System.Linq.Expressions.Expression<System.Func<TModel, TResult>>)
10 references to DisplayNameFor
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (10)
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (10)
24var displayNameForResult = helper.DisplayNameFor(m => m); 25var displayNameForEnumerableModelResult = enumerableHelper.DisplayNameFor(m => m); 45var displayNameForResult = helper.DisplayNameFor(m => m.Property1); 78var displayNameForResult = helper.DisplayNameFor(m => m.Inner.Id); 103var displayNameForResult = helper.DisplayNameFor(m => m); 130var displayNameForResult = helper.DisplayNameFor(m => m.Property1); 167() => helper.DisplayNameFor(model => new { foo = "Bar" })); 182() => helper.DisplayNameFor(model => new { foo = "Bar" })); 196var result = helper.DisplayNameFor(model => unknownKey); 211var result = helper.DisplayNameFor(model => unknownKey);