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)
24
var displayNameForResult = helper.
DisplayNameFor
(m => m);
25
var displayNameForEnumerableModelResult = enumerableHelper.
DisplayNameFor
(m => m);
45
var displayNameForResult = helper.
DisplayNameFor
(m => m.Property1);
78
var displayNameForResult = helper.
DisplayNameFor
(m => m.Inner.Id);
103
var displayNameForResult = helper.
DisplayNameFor
(m => m);
130
var displayNameForResult = helper.
DisplayNameFor
(m => m.Property1);
167
() => helper.
DisplayNameFor
(model => new { foo = "Bar" }));
182
() => helper.
DisplayNameFor
(model => new { foo = "Bar" }));
196
var result = helper.
DisplayNameFor
(model => unknownKey);
211
var result = helper.
DisplayNameFor
(model => unknownKey);